From b414c62ce472ffed895f4d178cdb022f89110394 Mon Sep 17 00:00:00 2001 From: Alexander Sachenko <35726682+Sanchows@users.noreply.github.com> Date: Tue, 24 Dec 2024 15:45:10 +0300 Subject: [PATCH] removed unnecessary import modules.errors --- modules/launch_utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/launch_utils.py b/modules/launch_utils.py index 20c7dc127a7..1aceb0dbf4e 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -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}.