From 3492a34f45d7ab9a533f6edd54d2b6a51ff63e3e Mon Sep 17 00:00:00 2001 From: xpamych Date: Sun, 14 May 2023 16:47:26 +0300 Subject: [PATCH] 1 --- hlna.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hlna.py b/hlna.py index e34792a..5056950 100755 --- a/hlna.py +++ b/hlna.py @@ -475,7 +475,7 @@ def modextract(id_mod, id_game_workshop): name, ext = os.path.splitext(file) if ext == ".z": src = os.path.join(curdir, file) - dst = os.path.join(dir_extract, os.path.relpath(os.path.join(f"{dirpath}, {subdirs[i]}, /"), dir_steam_workshop)) + dst = os.path.join(dir_extract, os.path.relpath(os.path.join(dirpath, subdirs[i], "/"), dir_steam_workshop)) uncompressed = os.path.join(curdir, file + ".uncompressed_size") unpack(src, dst) print("[+] Extracted " + file)