Fix for snapShot service with no snapShot type defined
Example: 10460
This commit is contained in:
parent
22ce85d11b
commit
ac8fc59a57
@ -71,6 +71,13 @@ def get_SnapShotMnemonic(m, se, elm, dataids):
|
|||||||
if len(se[sid].params) > 1:
|
if len(se[sid].params) > 1:
|
||||||
if se[sid].params[1]['type'] == 'Snapshot':
|
if se[sid].params[1]['type'] == 'Snapshot':
|
||||||
snapshotService = se[sid]
|
snapshotService = se[sid]
|
||||||
|
break
|
||||||
|
elif se[sid].startReq.startswith("1904"):
|
||||||
|
snapshotService = se[sid]
|
||||||
|
break
|
||||||
|
|
||||||
|
if not snapshotService:
|
||||||
|
return "00"
|
||||||
|
|
||||||
resp = executeService( snapshotService, elm, [], "", True )
|
resp = executeService( snapshotService, elm, [], "", True )
|
||||||
if ((mod_globals.opt_demo and not resp) or not resp.startswith(snapshotService.simpleRsp) or len(resp)/2 == 6):
|
if ((mod_globals.opt_demo and not resp) or not resp.startswith(snapshotService.simpleRsp) or len(resp)/2 == 6):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user