diff options
author | BonfaceKilz | 2020-08-17 17:41:58 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-08-18 16:59:52 +0300 |
commit | af330a2aa7b36fd0cf8505eb20fa06d2ed58b86b (patch) | |
tree | ebc6ee429df52b7ae82d1f2017a356898348c0f9 /wqflask/utility/startup_config.py | |
parent | e49ef0954e111ace2044cced0a83b4d9dc00bc72 (diff) | |
download | genenetwork2-af330a2aa7b36fd0cf8505eb20fa06d2ed58b86b.tar.gz |
Wrap print statements in parentheses
Diffstat (limited to 'wqflask/utility/startup_config.py')
-rw-r--r-- | wqflask/utility/startup_config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/utility/startup_config.py b/wqflask/utility/startup_config.py index 817284dd..42ead709 100644 --- a/wqflask/utility/startup_config.py +++ b/wqflask/utility/startup_config.py @@ -27,7 +27,7 @@ def app_config(): port = get_setting_int("SERVER_PORT") if get_setting_bool("USE_GN_SERVER"): - print("GN2 API server URL is ["+BLUE+get_setting("GN_SERVER_URL")+ENDC+"]") + print(("GN2 API server URL is ["+BLUE+get_setting("GN_SERVER_URL")+ENDC+"]")) import requests page = requests.get(get_setting("GN_SERVER_URL")) if page.status_code != 200: @@ -36,4 +36,4 @@ def app_config(): # 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"))) + print(("GN2 is running. Visit %s[http://localhost:%s/%s](%s)" % (BLUE,str(port),ENDC,get_setting("WEBSERVER_URL")))) |