mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
Noqa
This commit is contained in:
parent
bcadf26189
commit
0afe134076
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user