mirror of
https://github.com/chubin/wttr.in
synced 2024-12-27 20:23:11 +00:00
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()
|
||||
|
||||
LISTEN_HOST = ""
|
||||
LISTEN_PORT = 8002
|
||||
|
||||
def error(text):
|
||||
if not text.startswith('Too many queries'):
|
||||
print text
|
||||
|
|
Loading…
Reference in a new issue