mytoolkit/mymanager.py
changeset 39 0cef3540b69f
parent 18 a9e12b7cc207
child 49 08e4dfe1b0cb
--- a/mytoolkit/mymanager.py	Thu May 31 11:28:41 2012 +0200
+++ b/mytoolkit/mymanager.py	Mon Jul 09 10:29:47 2012 +0200
@@ -117,13 +117,13 @@
         try:
             return super(Cursor, self).execute(query, args)
         finally:
-            log.debug(self._executed)
+            log.debug(self._executed.decode('utf8'))
 
     def callproc(self, procname, args=None):
         try:
             return super(Cursor, self).callproc(procname, args)
         finally:
-            log.debug(self._executed)
+            log.debug(self._executed.decode('utf8'))
 
     def row_dict(self, row, lstrip=None):
         adjustname = lambda a: a