[WIP] bug fix

This commit is contained in:
2023-10-17 12:54:54 +02:00
parent f5ac31f25f
commit ee56a23d0b

View File

@ -374,8 +374,8 @@ class FrappyConfig(Device):
else:
cfgs.pop('stick', None)
error, proposed, state, info = fm.get_server_state(config.instrument, cfgs)
self._initial_config = proposed
if not error:
self._initial_config = proposed
self._previous_shown = state # otherwise the server state will be shown on startup
return self._initial_config.get(service)