Merge branch 'develop' into js8call

This commit is contained in:
Jakob Ketterl 2020-04-22 18:34:10 +02:00
commit 9622cd6a2a

View File

@ -253,7 +253,7 @@ class FeatureDetector(object):
for line in process.stdout: for line in process.stdout:
matches = factory_regex.match(line.decode()) matches = factory_regex.match(line.decode())
if matches: if matches:
drivers = [s.strip() for s in matches[1].split(", ")] drivers = [s.strip() for s in matches.group(1).split(", ")]
return driver in drivers return driver in drivers
except FileNotFoundError: except FileNotFoundError: