Skip to content

Commit e1817c0

Browse files
authored
Update camera_pi.py
Making python editors happy by removing the unused var `foo`
1 parent e163bbb commit e1817c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

camera_pi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def frames():
1212
time.sleep(2)
1313

1414
stream = io.BytesIO()
15-
for foo in camera.capture_continuous(stream, 'jpeg',
15+
for _ in camera.capture_continuous(stream, 'jpeg',
1616
use_video_port=True):
1717
# return current frame
1818
stream.seek(0)

0 commit comments

Comments
 (0)