Commit 2f6009fa authored by 崔为之's avatar 崔为之 💪🏽

Update project

parent 4349e634
...@@ -39,7 +39,7 @@ def create_app() -> Flask: ...@@ -39,7 +39,7 @@ def create_app() -> Flask:
init_plugs(app) init_plugs(app)
# Set universal config # Set universal config
config.Universal = app.config config.universal = app.config
# Register the routes that this application will respond to. # Register the routes that this application will respond to.
# This includes both the route URLs and the handlers for each route. # This includes both the route URLs and the handlers for each route.
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
class Config: class Config:
"""Configuration for the application.""" """Configuration for the application."""
def __init__(self): def __init__(self):
self.Universal = None self.universal = None
# This creates a global instance of the Config class # This creates a global instance of the Config class
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment