Skip to content

Commit 1c93f82

Browse files
committed
avoid duplicates
1 parent bab31b2 commit 1c93f82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PiSideCode/camera/camera.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ def __init__(self):
5353
Cameras.logger.info(f"Skipping {identifier} - DISABLED")
5454
continue
5555

56-
if "-usbv2-" in identifier:
56+
if "-usbv2-" in identifier or "-usbv3-" in identifier:
5757
Cameras.logger.info(f"Skipping {identifier} - DUPLICATE")
58-
continue
58+
continue
5959

6060
path = full_cam_path(identifier)
6161

0 commit comments

Comments
 (0)