diff --git a/debian/changelog b/debian/changelog index f69f3af0..c0842b79 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +howdy (2.2.2) xenial; urgency=medium + + * Fixed fetching of wrong config section (thanks @halcyoncheng and @arifeinberg!) + + -- boltgolt Fri, 11 May 2018 10:43:03 +0200 + howdy (2.2.1) xenial; urgency=medium * Added mechanism to keep config files between updates diff --git a/src/cli/add.py b/src/cli/add.py index 374ee743..4a45ab3c 100644 --- a/src/cli/add.py +++ b/src/cli/add.py @@ -82,7 +82,7 @@ video_capture = cv2.VideoCapture(int(config.get("video", "device_id"))) # Force MJPEG decoding if true -if config.get("debug", "force_mjpeg") == "true": +if config.get("video", "force_mjpeg") == "true": video_capture.set(cv2.CAP_PROP_FOURCC, 1196444237) # Request a frame to wake the camera up diff --git a/src/cli/test.py b/src/cli/test.py index ba4b979f..ca34470e 100644 --- a/src/cli/test.py +++ b/src/cli/test.py @@ -21,7 +21,7 @@ video_capture = cv2.VideoCapture(int(config.get("video", "device_id"))) # Force MJPEG decoding if true -if config.get("debug", "force_mjpeg") == "true": +if config.get("video", "force_mjpeg") == "true": video_capture.set(cv2.CAP_PROP_FOURCC, 1196444237) # Let the user know what's up