Update slic/utils/opmsg.py
Run CI Tests / test (push) Successful in 1m32s

This commit is contained in:
2025-08-09 01:07:43 +02:00
parent cf2d49d202
commit 28d0cc8cae
+3 -1
View File
@@ -183,7 +183,9 @@ class OperationMessageStatus:
allowed = self.get_allowed()
if value not in allowed:
raise ValueError(f'value "{value}" is not from allowed values: {allowed}')
self.pv_status.put(value)
######################################################## sinon synchrone
self.pv_status.put(value, wait=True)
time.sleep(0.1)
def get_allowed(self):
return ["OFFLINE", "PREPARATION", "REMOTE", "ATTENDED"]