aboutsummaryrefslogtreecommitdiff
path: root/budget/web.py
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2017-03-20 13:06:59 +0100
committerGitHub <noreply@github.com>2017-03-20 13:06:59 +0100
commitc04ace2823755c11f43b50b91b6fdd5175a3c673 (patch)
tree13ceecf436ed507d86a62ff2b74ac718d1bdd6a3 /budget/web.py
parent79d33e1c65142dcf96c5e41ea3ff572122727bb7 (diff)
parent735c12ea456660c311ef97d2fa64eb46dea076c5 (diff)
downloadihatemoney-mirror-c04ace2823755c11f43b50b91b6fdd5175a3c673.zip
ihatemoney-mirror-c04ace2823755c11f43b50b91b6fdd5175a3c673.tar.gz
ihatemoney-mirror-c04ace2823755c11f43b50b91b6fdd5175a3c673.tar.bz2
Merge pull request #179 from 0livd/export_filename
Fix bad export filename
Diffstat (limited to 'budget/web.py')
-rw-r--r--budget/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/budget/web.py b/budget/web.py
index 1c58a62..9fd6228 100644
--- a/budget/web.py
+++ b/budget/web.py
@@ -225,7 +225,7 @@ def edit_project():
return send_file(file2export,
attachment_filename="%s-%s.%s" %
- (g.project.name, export_type, export_format),
+ (g.project.id, export_type, export_format),
as_attachment=True
)
else: