Commit dd5235a0 authored by Diego Giovane Pasqualin's avatar Diego Giovane Pasqualin
Browse files

le-vlc-captura: Fix missing wecam entry


Signed-off-by: default avatarDiego Giovane Pasqualin <dpasqualin@c3sl.ufpr.br>
parent 3387d829
......@@ -106,7 +106,6 @@ video_standards = (
# Return true if the <driver> was detected on the <device>
def detect_driver(device, driver):
output = get_cmd_output(['v4l-info', device])
return True
return re.search(driver, output) and True or False
# Add an entry <opt> to the options on the <zenity_cmd>
......@@ -121,7 +120,7 @@ def get_cmd_output(cmd):
try:
output = subprocess.check_output(cmd, shell=True)
except:
#print cmd, e
raise
sys.exit(1)
return output.strip("\n")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment