1
This commit is contained in:
parent
dea8d657b7
commit
b11da8d1d0
2
hlna.py
2
hlna.py
@ -382,8 +382,6 @@ def modextract(id_mod, id_game_workshop):
|
||||
print_line(dirnames)
|
||||
for dname in dirnames:
|
||||
os.makedirs(os.path.join(modextractdir, os.path.relpath(os.path.join(dirpath, dname), mod_steam_workshop)), exist_ok=True)
|
||||
print_line(filenames)
|
||||
print_line(dirnames)
|
||||
for fname in filenames:
|
||||
if not os.path.isfile(os.path.join(mod_steam_workshop, fname)) and not os.path.isfile(os.path.join(mod_steam_workshop, fname + ".z")):
|
||||
os.unlink(os.path.join(modextractdir, fname))
|
||||
|
Loading…
Reference in New Issue
Block a user