cleanup MacOS

This commit is contained in:
Jay Lee
2019-09-06 10:56:22 -04:00
parent f05ceecf8e
commit 78404c8cd3

View File

@@ -809,7 +809,8 @@ def getOSPlatform():
elif myos == 'Windows':
pltfrm = ' '.join(platform.win32_ver())
elif myos == 'Darwin':
pltfrm = 'MacOS %s' % platform.mac_ver()[0]
myos = 'MacOS'
pltfrm = platform.mac_ver()[0]
else:
pltfrm = platform.platform()
return '%s %s' % (myos, pltfrm)