diff options
author | BonfaceKilz | 2021-05-07 13:00:12 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-05-08 14:21:21 +0300 |
commit | 395135fcebae0a2bca476b058f78f9e1ad8b13ee (patch) | |
tree | 9a34d77ce9f0e95b64dafe2c977381215f1b8ade /wqflask | |
parent | 2b375d11300d00ed426f7143014a4993da48d708 (diff) | |
download | genenetwork2-395135fcebae0a2bca476b058f78f9e1ad8b13ee.tar.gz |
utility: startup_config: Remove dead comments
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/utility/startup_config.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/wqflask/utility/startup_config.py b/wqflask/utility/startup_config.py index 6ef759e0..07322a62 100644 --- a/wqflask/utility/startup_config.py +++ b/wqflask/utility/startup_config.py @@ -16,12 +16,10 @@ def app_config(): if not app.config.get('SECRET_KEY'): import os app.config['SECRET_KEY'] = str(os.urandom(24)) - mode = WEBSERVER_MODE if mode == "DEV" or mode == "DEBUG": app.config['TEMPLATES_AUTO_RELOAD'] = True - # if mode == "DEBUG": - # app.config['EXPLAIN_TEMPLATE_LOADING'] = True <--- use overriding app param instead + print("==========================================") show_settings() @@ -34,9 +32,5 @@ def app_config(): page = requests.get(get_setting("GN_SERVER_URL")) if page.status_code != 200: raise Exception("API server not found!") - - # import utility.elasticsearch_tools as es - # es.test_elasticsearch_connection() - print(("GN2 is running. Visit %s[http://localhost:%s/%s](%s)" % (BLUE, str(port), ENDC, get_setting("WEBSERVER_URL")))) |