Pulled app.py

This commit is contained in:
Kevin Veen-Birkenbach 2025-01-10 11:46:51 +01:00
parent 9d510ec8fb
commit 9aaf86a33c

View File

@ -4,7 +4,6 @@ import requests
import hashlib import hashlib
import yaml import yaml
from utils.configuration_resolver import ConfigurationResolver from utils.configuration_resolver import ConfigurationResolver
from pprint import pprint
from utils.cache_manager import CacheManager from utils.cache_manager import CacheManager
# Initialize the CacheManager # Initialize the CacheManager
@ -35,9 +34,6 @@ FLASK_ENV = os.getenv("FLASK_ENV", "production")
def reload_config_in_dev(): def reload_config_in_dev():
if FLASK_ENV == "development": if FLASK_ENV == "development":
load_config(app) load_config(app)
print("DEVELOPMENT ENVIRONMENT")
else:
print("PRODUCTIVE ENVIRONMENT")
# Cache the icons # Cache the icons
for card in app.config["cards"]: for card in app.config["cards"]: