This commit is contained in:
Евгений Храмов 2023-05-14 16:28:45 +03:00
parent 7efc8db744
commit 29940a6644

@ -468,7 +468,7 @@ def modextract(id_mod, id_game_workshop):
os.makedirs(os.path.join(dir_extract, os.path.relpath(os.path.join(dirpath, dname), dir_steam_workshop)), exist_ok=True)
for fname in filenames:
if not os.path.isfile(os.path.join(dir_steam_workshop, fname)) and not os.path.isfile(os.path.join(mod_steam_workshop, fname + ".z")):
if not os.path.isfile(os.path.join(dir_steam_workshop, fname)) and not os.path.isfile(os.path.join(dir_steam_workshop, fname + ".z")):
os.unlink(os.path.join(dir_extract, fname))
for dname in dirnames: