diff --git a/pxiii_bec/devices/SmarGon.py b/pxiii_bec/devices/SmarGon.py index a1a84c3..98d6bfa 100644 --- a/pxiii_bec/devices/SmarGon.py +++ b/pxiii_bec/devices/SmarGon.py @@ -5,6 +5,7 @@ The module provides an object to control the SmarGon goniometer axes at PX III. The SmarGon axes are interfaced as positioners. """ + import time from threading import Thread, Lock import requests @@ -213,7 +214,7 @@ class SmarGonAxis(PVPositioner): r = requests.get(cmd, timeout=1, **kwargs) except TimeoutError: with mutex: - r = requests.get(cmd, timeout=1, **kwargs) + r = requests.get(cmd, timeout=1, **kwargs) if not r.ok: raise RuntimeError( f"[{self.name}] Error getting {address}; reply was {r.status_code} => {r.reason}"