Merge pull request #409 from pragma-/master

Add `includelocation=yes` to weather-data query string
This commit is contained in:
Igor Chubin 2020-02-18 22:55:25 +01:00 committed by GitHub
commit b2ee405417
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,6 +181,7 @@ def proxy(path):
query_string = query_string.replace('sr-lat', 'sr')
query_string = query_string.replace('lang=None', 'lang=en')
query_string += "&extra=localObsTime"
query_string += "&includelocation=yes"
content, headers = _load_content_and_headers(path, query_string)
if content is None: