changeset 89 | 6b72d61837b1 |
parent 81 | f709b1c7ca0c |
child 101 | 2a2d0d5df03b |
--- a/pgtoolkit/pgmanager.py Tue Sep 24 13:34:17 2013 +0200 +++ b/pgtoolkit/pgmanager.py Fri Oct 04 16:37:29 2013 +0200 @@ -206,7 +206,7 @@ def _log_query(self, query='?', args=None): name = self.connection.name if hasattr(self.connection, 'name') else '-' - query = self.query or self.mogrify(query, args) + query = self.mogrify(query, args) log_sql.debug('[%s] %s' % (name, query.decode('utf8'))) def _log_exception(self):