]> www.vanbest.org Git - motioneye-debian/commitdiff
v4l2ctl: loosen up the controls parsing regex a bit
authorCalin Crisan <ccrisan@gmail.com>
Sat, 9 Jan 2016 08:57:03 +0000 (10:57 +0200)
committerCalin Crisan <ccrisan@gmail.com>
Sat, 9 Jan 2016 08:57:03 +0000 (10:57 +0200)
motioneye/v4l2ctl.py

index edf5580a5d521c38824fc7424fec2888c7718655..027ef5551980d59bb936da1187a47a6047686165 100644 (file)
@@ -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