Use project.id in export filename as it is already slugified

This commit is contained in:
0livd 2017-03-12 13:15:23 +01:00
parent 79d33e1c65
commit 735c12ea45

View file

@ -225,7 +225,7 @@ def edit_project():
return send_file(file2export, return send_file(file2export,
attachment_filename="%s-%s.%s" % attachment_filename="%s-%s.%s" %
(g.project.name, export_type, export_format), (g.project.id, export_type, export_format),
as_attachment=True as_attachment=True
) )
else: else: