From 9ba613277e8b0be650295f9d7a3225561631ab9f Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Sat, 16 Nov 2024 03:00:34 +0100 Subject: [PATCH] Launcher: change import order to fix ModuleUpdate (#4194) --- Launcher.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Launcher.py b/Launcher.py index 2620f786..ea59e8be 100644 --- a/Launcher.py +++ b/Launcher.py @@ -22,16 +22,15 @@ from os.path import isfile from shutil import which from typing import Callable, Optional, Sequence, Tuple, Union -import Utils -import settings -from worlds.LauncherComponents import Component, components, Type, SuffixIdentifier, icon_paths - if __name__ == "__main__": import ModuleUpdate ModuleUpdate.update() -from Utils import is_frozen, user_path, local_path, init_logging, open_filename, messagebox, \ - is_windows, is_macos, is_linux +import settings +import Utils +from Utils import (init_logging, is_frozen, is_linux, is_macos, is_windows, local_path, messagebox, open_filename, + user_path) +from worlds.LauncherComponents import Component, components, icon_paths, SuffixIdentifier, Type def open_host_yaml():