mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update __init__.py
This commit is contained in:
@@ -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('########################################################')
|
||||
|
||||
Reference in New Issue
Block a user