This commit is contained in:
Matthias Kuhn 2020-05-05 23:43:27 +02:00
parent bcadf26189
commit 0afe134076

View File

@ -78,7 +78,7 @@ class CursorAdapter():
for rec in res:
newrec = []
for col in rec:
if type(col) == type(QVariant(None)):
if type(col) == type(QVariant(None)): # noqa
if (str(col) == 'NULL'):
col = None
else: