1
This commit is contained in:
parent
7efc8db744
commit
29940a6644
2
hlna.py
2
hlna.py
@ -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)
|
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:
|
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))
|
os.unlink(os.path.join(dir_extract, fname))
|
||||||
|
|
||||||
for dname in dirnames:
|
for dname in dirnames:
|
||||||
|
Loading…
Reference in New Issue
Block a user