Skip to content
Snippets Groups Projects
Commit 4b030ae2 authored by David Verelst's avatar David Verelst
Browse files

prepost.dlctemplate: correctly exclude zip files from the master zip

parent 1a298984
No related branches found
No related tags found
No related merge requests found
......@@ -290,9 +290,8 @@ def launch_dlcs_excel(sim_id, silent=False, verbose=False, pbs_turb=False,
for (dirpath, dirnames, fnames) in os.walk(P_SOURCE):
# remove all zip files
for i, fname in enumerate(fnames):
if fname.endswith('.zip'):
fnames.pop(i)
f_ziproot.extend(fnames)
if not fname.endswith('.zip'):
f_ziproot.append(fname)
break
# and add those files
for opt in opt_tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment