mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-29 17:52:37 +02:00
Use project.id in export filename as it is already slugified
This commit is contained in:
parent
79d33e1c65
commit
735c12ea45
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue