~minus/stewdio-api

32b198942bed60e78b88789fe2970f8353cd4d9c — minus 1 year, 5 months ago 5bd78c6 master
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'))