1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 18:38:26 +02:00

Update translations

This commit is contained in:
Yohann D'ANELLO
2020-05-05 04:48:42 +02:00
parent 104ca590a5
commit 14cde3ac91
2 changed files with 140 additions and 61 deletions

View File

@ -466,7 +466,7 @@ class PoolDetailView(LoginRequiredMixin, DetailView):
resp['Content-Disposition'] = 'attachment; filename={}' \
.format(_("Solutions of a pool.zip").replace(" ", "%20"))
return resp
elif "syntheses_zip" in request.POST:
elif "syntheses_zip" in request.POST and user.organizes:
out = BytesIO()
zf = zipfile.ZipFile(out, "w")