This commit is contained in:
Евгений Храмов 2023-05-14 17:04:53 +03:00
parent add187acb0
commit 67b1ca0e6a

@ -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)