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

This commit is contained in:
2025-08-08 17:08:21 +02:00
parent 402f679bf4
commit c151a9f0eb
-2
View File
@@ -183,9 +183,7 @@ class OperationMessageStatus:
allowed = self.get_allowed()
if value not in allowed:
raise ValueError(f'value "{value}" is not from allowed values: {allowed}')
######################################################## sinon synchrone
self.pv_status.put(value, wait=True)
time.sleep(0.1)
def get_allowed(self):
return ["OFFLINE", "PREPARATION", "REMOTE", "ATTENDED"]