mirror of
https://github.com/beetbox/beets.git
synced 2025-12-09 18:12:19 +01:00
Merge branch 'master' of github.com:beetbox/beets
This commit is contained in:
commit
1e215aedef
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ def item_file(item_id):
|
|||
response = flask.send_file(
|
||||
util.py3_path(item.path),
|
||||
as_attachment=True,
|
||||
attachment_filename=os.path.basename(item.path),
|
||||
attachment_filename=os.path.basename(util.py3_path(item.path)),
|
||||
)
|
||||
response.headers['Content-Length'] = os.path.getsize(item.path)
|
||||
return response
|
||||
|
|
|
|||
Loading…
Reference in a new issue