fix: workaround for circular import in tests

This commit is contained in:
aclist 2026-06-21 22:18:02 +09:00
parent 879d0650d4
commit a2aeac0242

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)