mirror of
https://github.com/simple-login/app.git
synced 2025-02-25 00:03:03 +08:00
flake8
This commit is contained in:
parent
863d8dcbe7
commit
c4c29dfa1d
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,7 @@ from flask import (
|
||||||
)
|
)
|
||||||
from flask_admin import Admin
|
from flask_admin import Admin
|
||||||
from flask_cors import cross_origin, CORS
|
from flask_cors import cross_origin, CORS
|
||||||
from flask_debugtoolbar import DebugToolbarExtension
|
|
||||||
from flask_login import current_user
|
from flask_login import current_user
|
||||||
from sentry_sdk.integrations.flask import FlaskIntegration
|
from sentry_sdk.integrations.flask import FlaskIntegration
|
||||||
from sentry_sdk.integrations.sqlalchemy import SqlalchemyIntegration
|
from sentry_sdk.integrations.sqlalchemy import SqlalchemyIntegration
|
||||||
|
@ -826,6 +826,7 @@ def local_main():
|
||||||
app = create_app()
|
app = create_app()
|
||||||
|
|
||||||
# enable flask toolbar
|
# enable flask toolbar
|
||||||
|
# from flask_debugtoolbar import DebugToolbarExtension
|
||||||
# app.config["DEBUG_TB_PROFILER_ENABLED"] = True
|
# app.config["DEBUG_TB_PROFILER_ENABLED"] = True
|
||||||
# app.config["DEBUG_TB_INTERCEPT_REDIRECTS"] = False
|
# app.config["DEBUG_TB_INTERCEPT_REDIRECTS"] = False
|
||||||
# app.debug = True
|
# app.debug = True
|
||||||
|
|
Loading…
Reference in a new issue