mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-01-23 17:52:54 +02:00
update deprecated parameter name
This commit is contained in:
parent
0bbcc2ae83
commit
51768e2d82
@ -681,7 +681,7 @@ def create_app(args):
|
||||
download_filename.pop(0)
|
||||
download_filename = '.'.join(download_filename)
|
||||
|
||||
return send_file(return_data, as_attachment=True, attachment_filename=download_filename)
|
||||
return send_file(return_data, as_attachment=True, download_name=download_filename)
|
||||
|
||||
@app.post("/detect")
|
||||
@access_check
|
||||
|
Loading…
x
Reference in New Issue
Block a user