minor fix

This commit is contained in:
Igor Chubin 2020-05-21 13:22:46 +02:00
parent 6e02c0a147
commit ce93b59a9e

View file

@ -40,7 +40,10 @@ def get_wetter(parsed_query):
location_not_found = True location_not_found = True
stdout += get_message('NOT_FOUND_MESSAGE', lang) stdout += get_message('NOT_FOUND_MESSAGE', lang)
first_line, stdout = _wego_postprocessing(location, parsed_query, stdout) if "\n" in stdout:
first_line, stdout = _wego_postprocessing(location, parsed_query, stdout)
else:
first_line = ""
if html: if html: