diff --git a/main.py b/main.py index 8d474a21..f8320873 100644 --- a/main.py +++ b/main.py @@ -49,8 +49,8 @@ def privider_chooser(cfg): return l def check_env(ch_mirror=False): - if not (sys.version_info.major == 3 and sys.version_info.minor >= 8): - print("请使用Python3.8运行本项目") + if not (sys.version_info.major == 3 and sys.version_info.minor >= 9): + print("请使用Python3.9+运行本项目") input("按任意键退出...") exit() diff --git a/model/command/command.py b/model/command/command.py index 67441b75..29083c5e 100644 --- a/model/command/command.py +++ b/model/command/command.py @@ -5,7 +5,7 @@ try: import git.exc from git.repo import Repo except BaseException as e: - print("你正在运行在无Git环境下,暂时将无法使用插件、热更新功能。") + print("你正运行在无Git环境下,暂时将无法使用插件、热更新功能。") has_git = False import os