From 4be07130c2039e692ca495f2a7001c1cefec2464 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 29 Nov 2022 18:09:53 +0100 Subject: [PATCH] fixed --- ereuse_devicehub/parser/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/parser/models.py b/ereuse_devicehub/parser/models.py index bdd13f73..6d8cdb4e 100644 --- a/ereuse_devicehub/parser/models.py +++ b/ereuse_devicehub/parser/models.py @@ -73,7 +73,7 @@ class SnapshotsLog(Thing): snapshots = [] for s in self.snapshot.device.actions: if s == self.snapshot: - continue + break if s.type == self.snapshot.type: snapshots.append(s) return snapshots and 'Update' or 'New Device'