instance.py

changeset 23
86b42610d5a8
parent 21
c36e549a7f12
child 24
94d58d514d69
--- a/instance.py	Sun Jan 21 01:14:06 2018 +0000
+++ b/instance.py	Sun Jan 21 01:15:01 2018 +0000
@@ -89,7 +89,7 @@
                 res['type']='UNKNOWN'
             return res
         except:
-            logging.debug('JSON parse failed on: "%s"' % line)
+            logging.debug('JSON parse failed on: "%s"' % str(line))
 
             errmsg=line
             for line in iter(stream.readline, b''):

mercurial