mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-21 06:13:45 +00:00
access regex groups in python 3.5 compatible way, closes #109
This commit is contained in:
parent
0a16500133
commit
78ccaa7d65
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ class FeatureDetector(object):
|
|||
for line in process.stdout:
|
||||
matches = factory_regex.match(line.decode())
|
||||
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
|
||||
except FileNotFoundError:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue