Merge pull request #16745 from Sanchows/removed-unused-import-modules-errors

removed unnecessary import 'modules.errors'
This commit is contained in:
w-e-w 2024-12-24 22:58:43 +09:00 committed by GitHub
commit fc0952abb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,9 +43,7 @@ def check_python_version():
supported_minors = [7, 8, 9, 10, 11]
if not (major == 3 and minor in supported_minors):
import modules.errors
modules.errors.print_error_explanation(f"""
errors.print_error_explanation(f"""
INCOMPATIBLE PYTHON VERSION
This program is tested with 3.10.6 Python, but you have {major}.{minor}.{micro}.