fixed issue 1579:Row.__getitem__(): count of 0 raises AttributeError, thanks Dominic
This commit is contained in:
1 parent
207105a21e
commit
988ee82496
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -6872,7 +6872,7 @@ class Row(object):
|
||||
_extra = self.__dict__.get('_extra', None)
|
||||
if _extra is not None:
|
||||
v = _extra.get(key, None)
|
||||
if v:
|
||||
if v is not None:
|
||||
return v
|
||||
m = REGEX_TABLE_DOT_FIELD.match(key)
|
||||
if m:
|
||||
|
||||
Reference in new issue
Block a user