added LISTEN_HOST and LISTEN_PORT
This commit is contained in:
parent
ceae32a7da
commit
0c96e97dd3
1 changed files with 3 additions and 0 deletions
|
|
@ -30,6 +30,9 @@ DEFAULT_LOCATION = "oymyakon"
|
||||||
|
|
||||||
MALFORMED_RESPONSE_HTML_PAGE = open(os.path.join(STATIC, 'malformed-response.html')).read()
|
MALFORMED_RESPONSE_HTML_PAGE = open(os.path.join(STATIC, 'malformed-response.html')).read()
|
||||||
|
|
||||||
|
LISTEN_HOST = ""
|
||||||
|
LISTEN_PORT = 8002
|
||||||
|
|
||||||
def error(text):
|
def error(text):
|
||||||
if not text.startswith('Too many queries'):
|
if not text.startswith('Too many queries'):
|
||||||
print text
|
print text
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue