chore: 让我微调一下()

This commit is contained in:
ikun0014
2024-10-11 21:21:25 +08:00
parent 7135e13fd7
commit f8bc9ace69
2 changed files with 8 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ repos = [
def check_system_msg():
os_type = platform.system()
try:
if not os_type == 'Windows':
if os_type != 'Windows':
log.error(f'❌ 不用Windows你想上天{os_type}')
except Exception as e:
log.error(f'❌ 获取系统类型失败:{stack_error(e)}')