合并外部维护版本并同步自动每日功能
This commit is contained in:
@@ -20,6 +20,9 @@ from core.runtime_paths import DATA_DIR, ensure_runtime_dirs
|
||||
|
||||
|
||||
def clear():
|
||||
# 无控制台(pythonw)时执行 cls 会不断弹出新 cmd 窗口,直接跳过。
|
||||
if sys.stdout is None:
|
||||
return
|
||||
os.system("cls" if os.name == "nt" else "clear")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user