makepanda: fix GetHost() on linux

[skip ci]
This commit is contained in:
rdb 2018-01-28 14:44:12 +01:00
parent d35e6c5113
commit 002b373361

View File

@ -296,6 +296,8 @@ def GetHost():
osname = subprocess.check_output(["uname", "-o"])
if osname.strip().lower() == b'android':
return 'android'
else:
return 'linux'
except:
return 'linux'
elif sys.platform.startswith('freebsd'):