Fix contact support unix detection

This commit is contained in:
Peter Šurda 2015-12-16 02:36:45 +01:00
parent f262f6a9b7
commit bfe75df2a9
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -1,4 +1,5 @@
import ctypes
from os import uname
from PyQt4 import QtCore, QtGui
import sys
@ -82,7 +83,7 @@ def createSupportMessage(myapp):
windowsversion = sys.getwindowsversion()
os = "Windows " + str(windowsversion[0]) + "." + str(windowsversion[1])
else:
unixversion = os.uname()
unixversion = uname()
os = unixversion[0] + " " + unixversion[2]
architecture = "32" if ctypes.sizeof(ctypes.c_voidp) == 4 else "64"
frozen = "N/A"