Commit 849b98ba authored by Matthieu Haefele's avatar Matthieu Haefele
Browse files

Fix archive script

parent 0b335aaa
Pipeline #6069 passed with stages
in 53 seconds
...@@ -121,7 +121,7 @@ def truncate(dest_dir): ...@@ -121,7 +121,7 @@ def truncate(dest_dir):
def online_pres(url_support): def online_pres(url_support):
# Considered as an online presentation if not an archive nor a pdf # Considered as an online presentation if not an archive nor a pdf
ext = os.path.splitext(url_support) ext = os.path.splitext(url_support)
not_online_ext = [".tgz", ".gz", ".bz2", ".pdf"] not_online_ext = [".tgz", ".gz", ".bz2", ".zip", ".pdf"]
res = True res = True
for e in not_online_ext: for e in not_online_ext:
res = res and e != ext res = res and e != ext
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment