From aa3262a8ab61363fdeecef0800f8146a8ba189e5 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Mon, 2 Oct 2023 10:10:04 +0800 Subject: [PATCH] chore: fix some typos --- main.py | 4 ++-- model/command/command.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 8d474a21a..f8320873d 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 67441b751..29083c5e2 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