diff --git a/application/__init__.py b/application/__init__.py index 319d05d5ab77bc673637803a636eef042919cc1b..2e2372a99b9d17c6539bb154079e2ae8eb9b6fe1 100644 --- a/application/__init__.py +++ b/application/__init__.py @@ -39,7 +39,7 @@ def create_app() -> Flask: init_plugs(app) # Set universal config - config.Universal = app.config + config.universal = app.config # Register the routes that this application will respond to. # This includes both the route URLs and the handlers for each route. diff --git a/application/common/config.py b/application/common/config.py index 6da156853ce6ac14e0e538298dffe522e258126c..ce06588bec716989c385ae3ea433822365f41d28 100644 --- a/application/common/config.py +++ b/application/common/config.py @@ -15,7 +15,7 @@ class Config: """Configuration for the application.""" def __init__(self): - self.Universal = None + self.universal = None # This creates a global instance of the Config class