Skip to content

Commit 6edf7f5

Browse files
committed
[cytation] tiny sleep when retrying cam.init()
1 parent ac00343 commit 6edf7f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pylabrobot/plate_reading/biotek_backend.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ async def _set_up_camera(self) -> None:
234234
self.cam.Init() # SpinnakerException: Spinnaker: Could not read the XML URL [-1010]
235235
break
236236
except: # noqa
237+
await asyncio.sleep(0.1)
237238
pass
238239
else:
239240
raise RuntimeError(

0 commit comments

Comments
 (0)