Decode retrieved files as UTF-8 even on Python 2
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 31 May 2020 00:17:36 +0000 (00:17 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 31 May 2020 00:17:36 +0000 (00:17 +0000)
commit5515f756d42c1fbb00f506cf30474143061863c6
tree490a4b2c5852d65d33793f7cc5a2511568c5c502
parentfd4b0ae5b2f6f31ec6e217a480321ac9292ff752
Decode retrieved files as UTF-8 even on Python 2

Python 2.7 is likely the only Python 2 anyone is using any longer
(even that's well past EOL upstream now), and reasonably recent
versions of 2.7 it need the same decode hack as Python 3 anyway when
dealing with some retrieved content. Just get rid of the version
detection and do it under any version.
weather.py