mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
debug print
This commit is contained in:
1 parent
83c03c998a
commit
8e6323ae48
2 files changed
+4
-3
No files matched your search
@@ -67,7 +67,7 @@ class PamhyrModelDict(SQLSubModel):
|
||||
if key in self._dict:
|
||||
v = self._dict[key]
|
||||
|
||||
if type(v) is types.GeneratorType:
|
||||
if isinstance(v, types.GeneratorType):
|
||||
return list(v)
|
||||
|
||||
return v
|
||||
|
||||
Reference in new issue
Block a user