Update __init__.py

This commit is contained in:
Mr Chen 2024-11-12 15:40:58 +08:00
parent 98f7c4810e
commit e6f1bbfabe
1 changed files with 0 additions and 11 deletions

View File

@ -171,17 +171,6 @@ def inject_global_variables():
}
return dict(config=g_config, data=data)
# def create_app(app_name = None):
#
# if not app_name:
# app_name = config.APP_NAME
# # Check if app is created for CLI operations or Web
# cli_mode = False
# if app_name.endswith('-cli'):
# cli_mode = True
# return app
# Log the startup
app.logger.info('########################################################')