Do not set None to the id
This commit is contained in:
parent
89584ee168
commit
23d5127454
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class GaugeMeasure(CapBaseObject):
|
|||
alarm = StringField('Alarm level')
|
||||
|
||||
def __init__(self):
|
||||
CapBaseObject.__init__(self, None)
|
||||
CapBaseObject.__init__(self)
|
||||
|
||||
def __repr__(self):
|
||||
if empty(self.level):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue