/moon as well as /Moon should show the Moon; use Moon,Fr for the city Moon in France
This commit is contained in:
parent
485b17cf94
commit
31d9fb7e59
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ def wttr(location, request):
|
||||||
# Trying to disable github caching
|
# Trying to disable github caching
|
||||||
return response
|
return response
|
||||||
|
|
||||||
if location == 'moon' or location.startswith('moon@'):
|
if location.lower() == 'moon' or location.lower().startswith('moon@'):
|
||||||
output = get_moon(location, html=html_output, lang=lang, query=query)
|
output = get_moon(location, html=html_output, lang=lang, query=query)
|
||||||
else:
|
else:
|
||||||
output = get_wetter(location, ip_addr,
|
output = get_wetter(location, ip_addr,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue