From 4fc93b92aa649df982b80efa007e5d786bf5c065 Mon Sep 17 00:00:00 2001 From: David Perl Date: Thu, 17 Sep 2026 13:18:50 +0200 Subject: [PATCH] fix: don't wait for jfjoch cancellation --- src/aare/devices/jfjoch.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/aare/devices/jfjoch.py b/src/aare/devices/jfjoch.py index f6671a4d..063198eb 100644 --- a/src/aare/devices/jfjoch.py +++ b/src/aare/devices/jfjoch.py @@ -114,7 +114,7 @@ class JFJochWrapper: ) from e @needs_init - def cancel(self, on_init: bool = False, wait_for_done: bool = False): + def cancel(self, on_init: bool = False): try: self._api.cancel_post() except Exception as e: @@ -124,8 +124,6 @@ class JFJochWrapper: operation="POST", endpoint="cancel_post", ) from e - if wait_for_done: - self._api.wait_till_done_post(1) @needs_init def is_idle(self) -> bool: