fix dev.sid
This commit is contained in:
parent
5932213764
commit
dd68c5c410
|
@ -405,7 +405,7 @@ class Device(Thing):
|
||||||
def sid(self):
|
def sid(self):
|
||||||
actions = [x for x in self.actions if x.t == 'Snapshot' and x.sid]
|
actions = [x for x in self.actions if x.t == 'Snapshot' and x.sid]
|
||||||
if actions:
|
if actions:
|
||||||
return actions[0]
|
return actions[0].sid
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def tradings(self):
|
def tradings(self):
|
||||||
|
|
Reference in New Issue