We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c50d2dc commit ed6d07dCopy full SHA for ed6d07d
BabbleApp/camera.py
@@ -86,7 +86,8 @@ def run(self):
86
self.config.capture_source is not None
87
and self.config.capture_source != ""
88
):
89
- if "COM" or "/dev/tty" in str(self.config.capture_source):
+ capture = str(self.config.capture_source)
90
+ if "COM" in capture or "/dev/tty" in capture:
91
if (
92
self.serial_connection is None
93
or self.camera_status == CameraState.DISCONNECTED
0 commit comments