From bfe75df2a9e4785c75f42cc0e76b86be5af7c16c Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Wed, 16 Dec 2015 02:36:45 +0100 Subject: [PATCH] Fix contact support unix detection --- src/bitmessageqt/support.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bitmessageqt/support.py b/src/bitmessageqt/support.py index 3073d5f7..3d06e4d9 100644 --- a/src/bitmessageqt/support.py +++ b/src/bitmessageqt/support.py @@ -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"