fix the info result
This commit is contained in:
parent
9590cff193
commit
1a8dc80067
|
@ -36,10 +36,7 @@ class SnapshotsLog(Thing):
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
def get_status(self):
|
def get_status(self):
|
||||||
if self.severity:
|
return Severity(self.severity)
|
||||||
return Severity(self.severity)
|
|
||||||
|
|
||||||
return ''
|
|
||||||
|
|
||||||
def get_device(self):
|
def get_device(self):
|
||||||
if self.snapshot:
|
if self.snapshot:
|
||||||
|
|
Reference in New Issue