summaryrefslogtreecommitdiffstats
path: root/mga-advisor.py
diff options
context:
space:
mode:
Diffstat (limited to 'mga-advisor.py')
-rw-r--r--mga-advisor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mga-advisor.py b/mga-advisor.py
index f8091c3..8d44ad0 100644
--- a/mga-advisor.py
+++ b/mga-advisor.py
@@ -136,11 +136,11 @@ class Widget(QWidget):
cve = cve.strip()
if cve != "":
self.ui.list_cve.addItem(cve)
+ self.ui.list_ref.addItem(f"https://bugs.mageia.org/show_bug.cgi?id={self.ui.bug_le.text()}")
for url in re.split(';|,| ', r.json()['bugs'][0]['url']):
url = url.strip()
if url != "":
self.ui.list_ref.addItem(url)
- self.ui.list_ref.addItem(f"https://bugs.mageia.org/show_bug.cgi?id={self.ui.bug_le.text()}")
if "component" in r.json()['bugs'][0].keys():
if r.json()['bugs'][0]["component"] == "Security":
self.ui.security_rb.setChecked(True)