DavidMStraub / netviel

Web interface for the notmuch e-mail system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix attachment download

edkedk99 opened this issue · comments

Hello,

It seems there is a small error in the following line, and I thought it was easier for the mantainer to just be informed rather than a pull request.

The send_file function in Flask changed its keyword parameter name: "attachment_filename" keyword argument, should be now "download_name" in the mentioned line

attachment_filename=d["filename"])

And thank you for this app, it is very useful.

Thanks, you're right, I would appreciate a pull request. It will also require setting a minimum flask version in setup.py.