summaryrefslogtreecommitdiffstats
path: root/qml/mageiawelcome.py
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2019-09-10 14:00:57 +0200
committerPapoteur <papoteur@mageia.org>2019-09-10 14:00:57 +0200
commit04180883fc3c70c460b3e9c1582e7334618ecf02 (patch)
treeabe6d5ee100def861ae12f40ad016537906b58cf /qml/mageiawelcome.py
parentc0b5e6e8abb420f6d9d5182f4054d41e51f0df96 (diff)
downloadmageiawelcome-04180883fc3c70c460b3e9c1582e7334618ecf02.tar
mageiawelcome-04180883fc3c70c460b3e9c1582e7334618ecf02.tar.gz
mageiawelcome-04180883fc3c70c460b3e9c1582e7334618ecf02.tar.bz2
mageiawelcome-04180883fc3c70c460b3e9c1582e7334618ecf02.tar.xz
mageiawelcome-04180883fc3c70c460b3e9c1582e7334618ecf02.zip
Display also arch different from 32 or 64 bits
Diffstat (limited to 'qml/mageiawelcome.py')
-rw-r--r--qml/mageiawelcome.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py
index 0f19557..20cc8aa 100644
--- a/qml/mageiawelcome.py
+++ b/qml/mageiawelcome.py
@@ -32,8 +32,10 @@ class ConfList(QAbstractListModel):
kernel = subprocess.getoutput('uname -r')
if os.uname()[4] == 'x86_64':
arch = '64-bit'
- else:
+ elif os.uname()[4] == 'i586':
arch = '32-bit'
+ else:
+ arch = os.uname()[4]
try:
desktop = get_desktop_name(os.path.basename(os.getenv("DESKTOP_SESSION")))
except: