From 4ff7c4d41be8426a433abfe7d7788121daa11894 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Mon, 8 Jan 2024 10:28:31 +0100 Subject: Fix warning about escaping character --- mga-advisor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mga-advisor.py b/mga-advisor.py index e6d04f0..0475873 100644 --- a/mga-advisor.py +++ b/mga-advisor.py @@ -286,7 +286,7 @@ class Widget(QWidget): return "" def valid_number(self): - self.ui.bug_le.setText(re.sub('\D', '', self.ui.bug_le.text())) + self.ui.bug_le.setText(re.sub(r'\D', '', self.ui.bug_le.text())) def src_populate(self, package): # retrieve information with repo, release from package name -- cgit v1.2.1