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 = copy.copy(self.actions)
|
||||||
actions.sort(key=lambda x: x.created)
|
actions.sort(key=lambda x: x.created)
|
||||||
allocates = []
|
allocates = []
|
||||||
|
lifetime = 0
|
||||||
for act in actions:
|
for act in actions:
|
||||||
lifetime = 0
|
|
||||||
if act.type == 'Snapshot':
|
if act.type == 'Snapshot':
|
||||||
snapshot = act
|
snapshot = act
|
||||||
lifestimes = snapshot.get_last_lifetimes()
|
lifestimes = snapshot.get_last_lifetimes()
|
||||||
|
|
Reference in New Issue