fixed live report
This commit is contained in:
parent
019c5727b0
commit
8899b40408
|
@ -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()
|
||||
|
|
Reference in New Issue