fix the info result
This commit is contained in:
parent
9590cff193
commit
1a8dc80067
|
@ -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:
|
||||
|
|
Reference in New Issue