Skip to content

Commit

Permalink
Merge pull request pygame-community#3246 from sonotopes/sys.platform-…
Browse files Browse the repository at this point in the history
…check-pygame-ce

updated 'in' operator for sys.platform linux check
  • Loading branch information
ankith26 authored Nov 29, 2024
2 parents 2913d6f + 1618b95 commit 1c2e752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src_py/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def get_backends():
if sys.platform == "win32" and int(platform.win32_ver()[0].split(".")[0]) >= 8:
possible_backends.append("_camera (MSMF)")

if "linux" in sys.platform:
if sys.platform == "linux":
possible_backends.append("_camera (V4L2)")

if "darwin" in sys.platform:
Expand Down

0 comments on commit 1c2e752

Please sign in to comment.