Skip to content

Commit

Permalink
Fix exception when params is an iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Dec 4, 2019
1 parent 5ce1782 commit 23f8513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Db/DbCursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def executemany(self, query, params):

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

Expand Down

0 comments on commit 23f8513

Please sign in to comment.