diff --git a/ereuse_devicehub/parser/models.py b/ereuse_devicehub/parser/models.py index 949011d0..2da2f3ca 100644 --- a/ereuse_devicehub/parser/models.py +++ b/ereuse_devicehub/parser/models.py @@ -36,10 +36,7 @@ class SnapshotsLog(Thing): db.session.commit() def get_status(self): - if self.severity: - return Severity(self.severity) - - return '' + return Severity(self.severity) def get_device(self): if self.snapshot: