mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Results: Minor change.
This commit is contained in:
1 parent
181a6c226f
commit
4d014d5a1d
1 file changed
+2
-1
@@ -79,7 +79,8 @@ class Profile(SQLSubModel):
|
||||
|
||||
# If is a generator, compute value(s)
|
||||
if isinstance(v, types.GeneratorType):
|
||||
v = self._data[timestamp][key] = next(v)
|
||||
v = next(v)
|
||||
self._data[timestamp][key] = v
|
||||
|
||||
return v
|
||||
|
||||
|
||||
Reference in new issue
Block a user