From 67b1ca0e6ac5f710b6db5f7c0d46e1352a248a10 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sun, 14 May 2023 17:04:53 +0300 Subject: [PATCH] 1 --- hlna.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hlna.py b/hlna.py index cf7e49c..efa4976 100755 --- a/hlna.py +++ b/hlna.py @@ -475,8 +475,7 @@ def modextract(id_mod, id_game_workshop): name, ext = os.path.splitext(file) if ext == ".z": src = os.path.join(curdir, file) - curdir = dir_extract - dst = os.path.join(curdir, name) + dst = os.path.join(dir_extract, name) uncompressed = os.path.join(curdir, file + ".uncompressed_size") unpack(src, dst) print("[+] Extracted " + file)