pull/559/head
Igor Chubin 4 years ago
parent 492f4f5e50
commit 49aefecf99

@ -67,8 +67,8 @@ def load_translations():
trans = trans.strip()
orig = orig.strip()
translation[orig] = trans
translations[lang.lower()] = translation
translation[orig.lower()] = trans
translations[lang] = translation
return translations
TRANSLATIONS = load_translations()
@ -274,7 +274,7 @@ def proxy(path):
# WWO tweaks
query_string += "&extra=localObsTime"
query_string += "&includelocation=yes"
content, headers = _fetch_content_and_headers(path, query)
content, headers = _fetch_content_and_headers(path, query_string)
content = add_translations(content, lang)

Loading…
Cancel
Save