mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-03-20 21:21:29 +00:00
llms and depracations pt.2
This commit is contained in:
@@ -320,7 +320,7 @@ def api():
|
||||
|
||||
# Return the patched file directly
|
||||
try:
|
||||
return send_file(file_path, as_attachment=True, attachment_filename=library_name)
|
||||
return send_file(file_path, as_attachment=True, download_name=library_name)
|
||||
except Exception as e:
|
||||
logger.error(f"Error sending file: {str(e)}")
|
||||
return jsonify({"error": f"Error sending file: {str(e)}"}), 500
|
||||
|
||||
Reference in New Issue
Block a user