Skip to content

Commit

Permalink
Minor fixes to retry
Browse files Browse the repository at this point in the history
Signed-off-by: Travis Collins <[email protected]>
  • Loading branch information
tfcollins committed Jun 13, 2024
1 parent 861607d commit e7a81da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e7a81da

Please sign in to comment.