fixed problem

This commit is contained in:
Sagi Frimer
2019-04-28 23:10:02 +03:00
parent 8db7627730
commit a37e73bde5

View File

@@ -65,7 +65,7 @@ class SettingsManager(metaclass=Singleton):
else:
self.create_new_cam(cam.name)
if not self.cams[cam.name]["path"]:
if "path" not in self.cams[cam.name]:
self.cams[cam.name]["path"] = cam.otherPaths[0] if len(cam.otherPaths) == 1 else cam.otherPaths[1]
# Access methods