server/sources/datafeed.py
changeset 11055 3c1139344621
parent 11042 079b32f4cd0d
child 11147 ddd5dbf52b72
--- a/server/sources/datafeed.py	Mon Jan 04 18:40:30 2016 +0100
+++ b/server/sources/datafeed.py	Wed Jan 06 08:58:43 2016 +0100
@@ -352,7 +352,7 @@
             self.source.info('Using cwclientlib for %s' % url)
             resp = cnx.get(url)
             resp.raise_for_status()
-            return URLLibResponseAdapter(BytesIO(resp.text), url)
+            return URLLibResponseAdapter(BytesIO(resp.content), url)
         except (ImportError, ValueError, EnvironmentError) as exc:
             # ImportError: not available
             # ValueError: no config entry found