From 0e8715b5a19059fd3d4cd9ebee3e4feb7b6064f9 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 12 Apr 2020 00:53:58 +0200 Subject: [PATCH] the space has been introduced at some point, make it optional --- owrx/feature.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/feature.py b/owrx/feature.py index 12b14aa..df2434b 100644 --- a/owrx/feature.py +++ b/owrx/feature.py @@ -246,7 +246,7 @@ class FeatureDetector(object): def _has_soapy_driver(self, driver): try: process = subprocess.Popen(["SoapySDRUtil", "--info"], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL) - factory_regex = re.compile("^Available factories\\.\\.\\. (.*)$") + factory_regex = re.compile("^Available factories\\.\\.\\. ?(.*)$") drivers = [] for line in process.stdout: