Skip to content

Commit b59ea07

Browse files
committed
enforce consistent cam order... was always broken??
1 parent cd446ce commit b59ea07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PiSideCode/camera/camera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self):
4848
Cameras.logger.error("No cameras detected!!")
4949

5050
# Try all cameras found by the PI
51-
for identifier in camera_paths:
51+
for identifier in sorted(camera_paths):
5252
if is_disabled(identifier):
5353
Cameras.logger.info(f"Skipping {identifier} - DISABLED")
5454
continue

0 commit comments

Comments
 (0)