mirror of
https://github.com/chubin/wttr.in
synced 2025-01-12 12:08:47 +00:00
Fix typos
This commit is contained in:
parent
492f4f5e50
commit
49aefecf99
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue