Skip to content

Commit

Permalink
Fixed weird style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMariday committed Jun 9, 2024
1 parent 4d03d20 commit e6f102f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def set_exposure_and_wait(

self.set_exposure(exposure)

for i in range(max_frames_to_wait):
for _ in range(max_frames_to_wait):
mean = cv2.mean(self.read())[0]
ratio = mean / initial_mean
if ratio > min_brightness_change or 1 / ratio > min_brightness_change:
Expand Down

0 comments on commit e6f102f

Please sign in to comment.