|
|
@ -210,6 +210,9 @@ def _response(parsed_query, query, fast_mode=False):
|
|
|
|
# so we handle it with all available logic
|
|
|
|
# so we handle it with all available logic
|
|
|
|
loc = (parsed_query['orig_location'] or "").lower()
|
|
|
|
loc = (parsed_query['orig_location'] or "").lower()
|
|
|
|
if parsed_query.get("view"):
|
|
|
|
if parsed_query.get("view"):
|
|
|
|
|
|
|
|
if not parsed_query.get("location"):
|
|
|
|
|
|
|
|
parsed_query["location"] = loc
|
|
|
|
|
|
|
|
|
|
|
|
output = wttr_line(query, parsed_query)
|
|
|
|
output = wttr_line(query, parsed_query)
|
|
|
|
elif loc == 'moon' or loc.startswith('moon@'):
|
|
|
|
elif loc == 'moon' or loc.startswith('moon@'):
|
|
|
|
output = get_moon(parsed_query)
|
|
|
|
output = get_moon(parsed_query)
|
|
|
|