From: Calin Crisan Date: Sat, 9 Jan 2016 08:57:03 +0000 (+0200) Subject: v4l2ctl: loosen up the controls parsing regex a bit X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=ebf04a90e74f23fbcde4dcabfd3d37df011c0455;p=motioneye-debian v4l2ctl: loosen up the controls parsing regex a bit --- 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