summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]i18n/update_translations.sh0
-rw-r--r--qml/mageiawelcome.py6
2 files changed, 3 insertions, 3 deletions
diff --git a/i18n/update_translations.sh b/i18n/update_translations.sh
index 643d9e1..643d9e1 100644..100755
--- a/i18n/update_translations.sh
+++ b/i18n/update_translations.sh
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")