Update send_file call args
1 files changed, 1 insertions(+), 1 deletions(-) M stewdio/app.py
M stewdio/app.py => stewdio/app.py +1 -1
@@ 129,7 129,7 @@ def download(hash, session): att_fn = os.path.basename(song.path).encode('ascii', errors='replace').decode('ascii').replace('?', '_') if not os.path.exists(song.path): return flask.Response(status=404) return flask.send_file(song.path, as_attachment=True, attachment_filename=att_fn) return flask.send_file(song.path, as_attachment=True, download_name=att_fn) def _listeners(): r = requests.get(kawa('listeners'))