frappy.client.interactive: cosmetic fixes

This commit is contained in:
2025-11-17 16:33:24 +01:00
parent 3575921ac0
commit f00d37b7a6

View File

@@ -240,7 +240,7 @@ class Module:
self._driving_event.clear()
try:
loop()
except KeyboardInterrupt as e:
except KeyboardInterrupt:
self._secnode.log.info('-- interrupted --')
try:
self.stop()
@@ -255,8 +255,8 @@ class Module:
finally:
self._secnode.readParameter(self._name, 'value')
for pname in watch_params:
self._secnode.unregister_callback((self._name, pname),
updateEvent=self._watch_parameter)
self._secnode.unregister_callback(
(self._name, pname), updateEvent=self._watch_parameter)
return self.value
def __repr__(self):