你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
Code tidy-up.
这个提交包含在:
@@ -39,7 +39,7 @@ def get_terminal_width():
|
|||||||
if terminalwidth == 0:
|
if terminalwidth == 0:
|
||||||
terminalwidth = 100
|
terminalwidth = 100
|
||||||
|
|
||||||
return(terminalwidth)
|
return terminalwidth
|
||||||
|
|
||||||
|
|
||||||
def logo(version):
|
def logo(version):
|
||||||
@@ -153,7 +153,7 @@ def get_machine_cpu_os():
|
|||||||
machineID = manufacturer + ' ' + model
|
machineID = manufacturer + ' ' + model
|
||||||
cpuID = subprocess.check_output("sysctl -n machdep.cpu.brand_string", shell=True).decode('utf-8').strip()
|
cpuID = subprocess.check_output("sysctl -n machdep.cpu.brand_string", shell=True).decode('utf-8').strip()
|
||||||
cpuID = ' '.join(cpuID.split())
|
cpuID = ' '.join(cpuID.split())
|
||||||
osversion = 'Mac OS X (' + platform.mac_ver()[0] + ')'
|
osversion = 'macOS (' + platform.mac_ver()[0] + ')'
|
||||||
|
|
||||||
# Linux
|
# Linux
|
||||||
elif sys.platform == 'linux':
|
elif sys.platform == 'linux':
|
||||||
|
在新工单中引用
屏蔽一个用户