aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/markit/cds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/markit/cds.py b/python/markit/cds.py
index a56fb5e3..dcc355d5 100644
--- a/python/markit/cds.py
+++ b/python/markit/cds.py
@@ -61,7 +61,7 @@ def download_composite_data(payload, historical=False):
if historical:
os.utime(path, (ts, ts))
except zipfile.BadZipfile:
- logger.error(r.content)
+ logger.error(r.content.decode())
time.sleep(5)
continue
else: