Skip to content

Commit

Permalink
Merge pull request #16745 from Sanchows/removed-unused-import-modules…
Browse files Browse the repository at this point in the history
…-errors

removed unnecessary import 'modules.errors'
  • Loading branch information
w-e-w authored Dec 24, 2024
2 parents 04903af + b414c62 commit fc0952a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/launch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down

0 comments on commit fc0952a

Please sign in to comment.