aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/startup_config.py
diff options
context:
space:
mode:
authorBonfaceKilz2022-07-04 15:25:42 +0300
committerBonfaceKilz2022-07-04 15:37:52 +0300
commit28ca511f846eb08ed5a7a86ba36d3282df9bdd24 (patch)
tree9c6cbfc08a260a190db37b05a4d3564a8257ec1b /wqflask/utility/startup_config.py
parent4fd21d4c55e064c8d98b0ba6577f156cc669c852 (diff)
downloadgenenetwork2-28ca511f846eb08ed5a7a86ba36d3282df9bdd24.tar.gz
wqflask: Remove DebugToolbarExtension
This functionality, at least how we use it, is already provided natively in python's pdb. Should someone need this, they can add it manually. * wqflask/runserver.py (app_config): Remove "flask_debugtoolbar" import and instantiation. * wqflask/utility/startup_config.py (app_config): Ditto.
Diffstat (limited to 'wqflask/utility/startup_config.py')
-rw-r--r--wqflask/utility/startup_config.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/wqflask/utility/startup_config.py b/wqflask/utility/startup_config.py
index 778fb64d..59923fa1 100644
--- a/wqflask/utility/startup_config.py
+++ b/wqflask/utility/startup_config.py
@@ -23,12 +23,9 @@ def app_config():
if mode in ["DEV", "DEBUG"]:
app.config['TEMPLATES_AUTO_RELOAD'] = True
if mode == "DEBUG":
- from flask_debugtoolbar import DebugToolbarExtension
app.debug = True
- toolbar = DebugToolbarExtension(app)
print("==========================================")
-
show_settings()
port = get_setting_int("SERVER_PORT")