fix(minor): logging fix in document.py

This commit is contained in:
Rushabh Mehta 2020-08-12 23:16:07 +05:30
parent fe9f1e803e
commit e262ef6add

View file

@ -196,7 +196,7 @@ class Database(object):
def mogrify():
try:
return self._cursor.mogrify(query, values)
except TypeError:
except:
return [query, values]
# for debugging in tests