From 04180883fc3c70c460b3e9c1582e7334618ecf02 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Tue, 10 Sep 2019 14:00:57 +0200 Subject: Display also arch different from 32 or 64 bits --- qml/mageiawelcome.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qml/mageiawelcome.py') 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: -- cgit v1.2.1