fix the info result

This commit is contained in:
Cayo Puigdefabregas 2022-05-20 13:52:32 +02:00
parent 9590cff193
commit 1a8dc80067
1 changed files with 1 additions and 4 deletions

View File

@ -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: