Skip to content

Commit

Permalink
修复python版本判断错误问题
Browse files Browse the repository at this point in the history
  • Loading branch information
EASY233 committed Aug 6, 2022
1 parent ffcba7b commit a41da77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/checkenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self):
self.update()

def python_check(self):
if self.pyVersion < "3.6":
if self.pyVersion < "3":
logging.error("此Python版本 ('{0}') 不兼容,成功运行程序你必须使用版本 >= 3.6 (访问 ‘https://www.python.org/downloads/".format(self.pyVersion))
exit(0)

Expand Down

0 comments on commit a41da77

Please sign in to comment.