Skip to content

Commit

Permalink
Fix error reported by @tiagocoutinho at #42.
Browse files Browse the repository at this point in the history
  • Loading branch information
otaku42 committed May 19, 2023
1 parent 398f9b3 commit a98df12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/web/async.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def cameras() -> list[Camera]:
global CAMERAS
if CAMERAS is None:
cameras = {}
for device in iter_video_capture_devices():
for device in iter_video_capture_devices(legacy_controls=True):
cameras[device.index] = Camera(device)
CAMERAS = cameras
return CAMERAS
Expand Down

0 comments on commit a98df12

Please sign in to comment.