A couple of final edits suggested in review

This commit is contained in:
Julian Stirling 2025-12-02 09:54:27 +00:00
parent 9b58f4d59e
commit 5017fea9d1
2 changed files with 4 additions and 2 deletions

View file

@ -777,7 +777,7 @@ class StreamingPiCamera2(BaseCamera):
self.calibrate_lens_shading()
for _i in range(3):
try:
time.sleep(1)
time.sleep(self._sensor_info.long_pause)
self.set_background(portal)
# Return if background is set
return