summaryrefslogtreecommitdiffstats
path: root/qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml')
-rw-r--r--qml/mageiawelcome.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py
index 52e0339..72be54e 100644
--- a/qml/mageiawelcome.py
+++ b/qml/mageiawelcome.py
@@ -135,15 +135,15 @@ class Launcher(QObject):
except subprocess.CallProcessError:
print("Error with urpmq")
return
- for line in active.stdout:
+ for line in active.stdout.splitlines():
if line.startswith('Core Release'):
core = True
if line.startswith('Core Updates'):
updates = True
if line.startswith('Tainted Release'):
- core = True
+ tainted = True
if line.startswith('Tainted Updates'):
- core = True
+ t_updates = True
if repo == 'tainted' and not (tainted and t_updates) :
# repo not enabled
# print("Tainted not active")