diff options
-rw-r--r-- | mga-advisor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mga-advisor.py b/mga-advisor.py index 173894d..a8e01c5 100644 --- a/mga-advisor.py +++ b/mga-advisor.py @@ -299,7 +299,7 @@ class Widget(QWidget): if p.returncode == 0: # example to parse : * Tue Aug 15 2023 squidf <squidf> 116.0.5845.96-1.mga9.tainted line1 = p.stdout.split('\n')[0] - analyze = re.search(r"^\*.*\s(\w*[:\.\d]+)-([\.\d]+)", line1) + analyze = re.search(r"^\*.*\s(\w*[:\.\w]+)-([\.\d]+)", line1) if analyze is not None: # get version, remove epoch version = analyze.group(1).split(":")[-1] |