added LISTEN_HOST and LISTEN_PORT

This commit is contained in:
Igor Chubin 2018-10-03 22:46:23 +02:00
parent ceae32a7da
commit 0c96e97dd3

View file

@ -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