diff --git a/qt/aqt/mediasrv.py b/qt/aqt/mediasrv.py index 25e603f02..9eb5a880d 100644 --- a/qt/aqt/mediasrv.py +++ b/qt/aqt/mediasrv.py @@ -186,7 +186,7 @@ def _handle_local_file_request(request: LocalFileRequest) -> Response: else: max_age = 60 * 60 return flask.send_file( - fullpath, mimetype=mimetype, conditional=True, max_age=max_age # type: ignore[call-arg] + fullpath, mimetype=mimetype, conditional=True, max_age=max_age, download_name="foo" # type: ignore[call-arg] ) else: print(f"Not found: {path}")