summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mga-advisor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mga-advisor.py b/mga-advisor.py
index cc8ba48..85e675a 100644
--- a/mga-advisor.py
+++ b/mga-advisor.py
@@ -214,7 +214,7 @@ class Widget(QWidget):
srcs[rel] = {}
srcs[rel][repo] = []
else:
- if not repo in srcs[release].keys():
+ if not repo in srcs[rel].keys():
srcs[rel][repo] = []
srcs[rel][repo].append(self.sanitize_line(name))
data['src'] = srcs