diff --git a/debian/changelog b/debian/changelog index f69f3af..c0842b7 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 374ee74..4a45ab3 100644 --- a/src/cli/add.py +++ b/src/cli/add.py @@ -82,7 +82,7 @@ insert_model = { 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 ba4b979..ca34470 100644 --- a/src/cli/test.py +++ b/src/cli/test.py @@ -21,7 +21,7 @@ config.read(path + "/../config.ini") 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