ui: Don't add deleted devices to the devices dict.

This commit is contained in:
Damir Jelić 2019-07-26 13:16:00 +02:00
parent a339f7be1d
commit d6827e524c

View File

@ -364,6 +364,7 @@ if UI_ENABLED:
device_list[device["user_id"]].pop(device["device_id"])
except KeyError:
pass
continue
device.pop("deleted")
device_list[device["user_id"]][device["device_id"]] = device