fixed live report

This commit is contained in:
Cayo Puigdefabregas 2021-02-15 10:24:22 +01:00
parent 019c5727b0
commit 8899b40408
1 changed files with 1 additions and 1 deletions

View File

@ -352,8 +352,8 @@ class Device(Thing):
actions = copy.copy(self.actions)
actions.sort(key=lambda x: x.created)
allocates = []
for act in actions:
lifetime = 0
for act in actions:
if act.type == 'Snapshot':
snapshot = act
lifestimes = snapshot.get_last_lifetimes()