Update system_api.py

pull/445/head
midoks 2 years ago
parent 806e29577e
commit 0e74b0cccf
  1. 4
      class/core/system_api.py

@ -281,7 +281,9 @@ class system_api:
mac_version = ''
for x in data_list:
mac_version += x.split("\t")[1] + ' '
return mac_version
arch_ver = mw.execShell("arch")
return mac_version + "(" + arch_ver[0].strip() + ")"
redhat_series = '/etc/redhat-release'
if os.path.exists(redhat_series):

Loading…
Cancel
Save