From a2aeac0242760184d186dc74eaeb831cd648cb3d Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Sun, 21 Jun 2026 22:18:02 +0900 Subject: [PATCH] fix: workaround for circular import in tests --- dzgui/api/steam.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dzgui/api/steam.py b/dzgui/api/steam.py index 397080c..88df5b4 100644 --- a/dzgui/api/steam.py +++ b/dzgui/api/steam.py @@ -10,7 +10,6 @@ from shlex import shlex from pathlib import Path from dzgui.init.prereqs import has_steam_client -from dzgui.api.mods import _hash from dzgui.const.constants import ( APPID_DAYZ, APP_NAME, @@ -58,6 +57,9 @@ def get_steam_paths() -> list[tuple[Path, str]]: def concat_mods(mods: list[str]) -> str: + # TODO: circular import workaround + from dzgui.api.mods import _hash + hashes = [] for mod in mods: md5sum = _hash(mod)