1
This commit is contained in:
parent
29940a6644
commit
37b12c8e44
6
hlna.py
6
hlna.py
@ -467,9 +467,9 @@ def modextract(id_mod, id_game_workshop):
|
||||
for dname in dirnames:
|
||||
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(dir_steam_workshop, fname + ".z")):
|
||||
os.unlink(os.path.join(dir_extract, fname))
|
||||
# for fname in filenames:
|
||||
# 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:
|
||||
if not os.path.isdir(os.path.join(dir_steam_workshop, dname)):
|
||||
|
Loading…
Reference in New Issue
Block a user