Fix exception when params is an iterator

This commit is contained in:
shortcutme 2019-12-04 17:15:08 +01:00
parent 5ce1782d05
commit 23f851343f
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ class DbCursor:
taken_query = time.time() - s
if self.logging or taken_query > 0.1:
self.db.log.debug("Query: %s x %s (Done in %.4f)" % (query, len(params), taken_query))
self.db.log.debug("Execute many: %s (Done in %.4f)" % (query, taken_query))
self.db.need_commit = True