diff --git a/bench/common.py b/bench/common.py index 34d4d98..7e58986 100644 --- a/bench/common.py +++ b/bench/common.py @@ -35,7 +35,7 @@ def _reconnect(self, error): raise error print("Reconnecting") - for retry in self._retries: + for retry in range(self._retries): try: if self.use_py_resource_manager: self.rm = pyvisa.ResourceManager("@py")