No SnapShot record fix
This commit is contained in:
parent
1143670740
commit
f34a4f2733
@ -70,7 +70,7 @@ def get_SnapShotMnemonic(m, se, elm, dataids):
|
|||||||
snapshotService = se[sid]
|
snapshotService = se[sid]
|
||||||
|
|
||||||
resp = executeService( snapshotService, elm, [], "", True )
|
resp = executeService( snapshotService, elm, [], "", True )
|
||||||
if mod_globals.opt_demo and not resp or not resp.startswith(snapshotService.simpleRsp):
|
if ((mod_globals.opt_demo and not resp) or not resp.startswith(snapshotService.simpleRsp) or len(resp)/2 == 6):
|
||||||
return "00"
|
return "00"
|
||||||
resp = resp.strip().replace(' ','')
|
resp = resp.strip().replace(' ','')
|
||||||
if not all(c in string.hexdigits for c in resp): resp = ''
|
if not all(c in string.hexdigits for c in resp): resp = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user