fix: workaround for circular import in tests

This commit is contained in:
aclist committed 2026-06-21 22:18:02 +09:00
1 parent 879d0650d4
commit a2aeac0242
1 file changed
+3 -1
+3 -1
View File
@@ -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)