From 2f6009fad20dd11bfe8a2442c6df856d4eddf182 Mon Sep 17 00:00:00 2001 From: cuiweizhi <560397@gree.com.cn> Date: Sat, 11 Nov 2023 14:25:25 +0800 Subject: [PATCH] Update project --- application/__init__.py | 2 +- application/common/config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/__init__.py b/application/__init__.py index 319d05d..2e2372a 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 6da1568..ce06588 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 -- GitLab