the space has been introduced at some point, make it optional

This commit is contained in:
Jakob Ketterl 2020-04-12 00:53:58 +02:00
parent 1b2e237816
commit 0e8715b5a1

View File

@ -246,7 +246,7 @@ class FeatureDetector(object):
def _has_soapy_driver(self, driver): def _has_soapy_driver(self, driver):
try: try:
process = subprocess.Popen(["SoapySDRUtil", "--info"], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL) process = subprocess.Popen(["SoapySDRUtil", "--info"], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
factory_regex = re.compile("^Available factories\\.\\.\\. (.*)$") factory_regex = re.compile("^Available factories\\.\\.\\. ?(.*)$")
drivers = [] drivers = []
for line in process.stdout: for line in process.stdout: