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

This commit is contained in:
2025-08-08 16:35:51 +02:00
parent 805239e3ef
commit 60ca41d661
+2 -1
View File
@@ -183,7 +183,8 @@ 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)
def get_allowed(self):
return ["OFFLINE", "PREPARATION", "REMOTE", "ATTENDED"]