From ebf04a90e74f23fbcde4dcabfd3d37df011c0455 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sat, 9 Jan 2016 10:57:03 +0200 Subject: [PATCH] v4l2ctl: loosen up the controls parsing regex a bit --- motioneye/v4l2ctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motioneye/v4l2ctl.py b/motioneye/v4l2ctl.py index edf5580..027ef55 100644 --- a/motioneye/v4l2ctl.py +++ b/motioneye/v4l2ctl.py @@ -405,7 +405,7 @@ def _list_ctrls(device): if not line: continue - match = re.match('^\s*(\w+)\s+\(\w+\)\s+\:\s*(.+)', line) + match = re.match('^\s*(\w+)\s+\(\w+\)\s*\:\s*(.+)\s*', line) if not match: continue -- 2.39.5