fixing bug
This commit is contained in:
parent
f10f2b848f
commit
84da94430e
|
@ -295,6 +295,9 @@ class Device(Thing):
|
||||||
if ac.rol_user == history[-1].rol_user:
|
if ac.rol_user == history[-1].rol_user:
|
||||||
# get only the last action consecutive for the same user
|
# get only the last action consecutive for the same user
|
||||||
history = history[:-1] + [ac]
|
history = history[:-1] + [ac]
|
||||||
|
continue
|
||||||
|
|
||||||
|
history.append(ac)
|
||||||
|
|
||||||
return history
|
return history
|
||||||
|
|
||||||
|
|
Reference in New Issue