applx suggested fix from issue #6573 (#7390)

This commit is contained in:
wokar authored and Paulus Schoutsen committed 2017-05-02 21:04:00 -07:00
1 parent 517bd39015
commit f9627a5646
1 file changed
+1
+1
View File
@@ -157,6 +157,7 @@ class ZamgData(object):
response = requests.get(
cls.API_URL, headers=cls.API_HEADERS, timeout=15)
response.raise_for_status()
response.encoding = 'UTF8'
return csv.DictReader(response.text.splitlines(),
delimiter=';', quotechar='"')
except Exception: # pylint:disable=broad-except