get a faster response from a change
in the previous implementation, the row-waiting-for-answer class was removed only on the next poll. this should happen more quickly. + remove some print statements
This commit is contained in:
4
secop.py
4
secop.py
@ -153,7 +153,9 @@ class SecopInteractor(SecopClient):
|
||||
logging.info('SENDCOMMAND %r', command)
|
||||
try:
|
||||
if is_param:
|
||||
self.setParameterFromString(module, parameter, strvalue)
|
||||
entry = self.setParameterFromString(module, parameter, strvalue)
|
||||
item = {'name': f'{module}:{parameter}', 'value': str(entry), 'formatted': entry.formatted()}
|
||||
self.updates[module, parameter] = item
|
||||
result = True
|
||||
else:
|
||||
result = self.execCommandFromString(module, parameter, strvalue)[0]
|
||||
|
Reference in New Issue
Block a user