Only print Mac version on Mac

Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Hugo van Kemenade 2019-12-13 15:44:01 +02:00 committed by GitHub
parent c22a5ffae7
commit a4dc5740f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,4 +21,5 @@ print("platform.machine()\t", platform.machine())
print("platform.platform()\t", platform.platform())
print("platform.version()\t", platform.version())
print("platform.uname()\t", platform.uname())
print("platform.mac_ver()\t", platform.mac_ver())
if sys.platform == "darwin":
print("platform.mac_ver()\t", platform.mac_ver())