mirror of https://gitlab.com/pamhyr/pamhyr2
Results: Minor change.
parent
181a6c226f
commit
4d014d5a1d
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue