forked from platformio/platformio-core
Fix system type when machine data is not available
This commit is contained in:
1 parent
66ac453c0f
commit
274b04c08f
1 file changed
+4
-1
+4
-1
@@ -90,7 +90,10 @@ class memoized(object):
|
||||
|
||||
def get_systype():
|
||||
data = uname()
|
||||
return ("%s_%s" % (data[0], data[4])).lower()
|
||||
systype = data[0]
|
||||
if data[4]:
|
||||
systype += "_" + data[4]
|
||||
return systype.lower()
|
||||
|
||||
|
||||
def pioversion_to_intstr():
|
||||
|
||||
Reference in new issue
Block a user