From 0c96e97dd3e969f1d876328604936fea62ef1847 Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Wed, 3 Oct 2018 22:46:23 +0200 Subject: [PATCH] added LISTEN_HOST and LISTEN_PORT --- lib/globals.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/globals.py b/lib/globals.py index 41eca29..a54d809 100644 --- a/lib/globals.py +++ b/lib/globals.py @@ -30,6 +30,9 @@ DEFAULT_LOCATION = "oymyakon" MALFORMED_RESPONSE_HTML_PAGE = open(os.path.join(STATIC, 'malformed-response.html')).read() +LISTEN_HOST = "" +LISTEN_PORT = 8002 + def error(text): if not text.startswith('Too many queries'): print text