chore: simplify path concatenation logic

This commit is contained in:
aclist committed 2026-07-07 19:52:44 +09:00
1 parent b731fb5566
commit a2d1f9b0e1
4 files changed
+9 -10

No files matched your search

+1 -2
View File
@@ -13,7 +13,6 @@ from dzgui.const.constants import (
APP_NAME,
APPID_DAYZ,
DAYZ_COMMUNITY_ROOT,
LIBRARYFOLDERS_PATH,
WORKSHOP_PATH,
)
@@ -40,7 +39,7 @@ def get_local_mod_ids(steam_path: Path) -> list[int]:
def get_local_mod_path(steam_path: Path) -> Path:
p = get_app_path(steam_path / Path(LIBRARYFOLDERS_PATH), APPID_DAYZ)
p = get_app_path(steam_path, APPID_DAYZ)
workshop_path = p / WORKSHOP_PATH
return workshop_path