mirror of
				https://github.com/kevinveenbirkenbach/homepage.veen.world.git
				synced 2025-11-04 01:18:09 +00:00 
			
		
		
		
	Pulled app.py
This commit is contained in:
		@@ -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"]:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user