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'