mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-02-01 07:39:11 +00:00
llms and depracated stuff
This commit is contained in:
@@ -287,7 +287,7 @@ def patch():
|
||||
file_path,
|
||||
mimetype='application/octet-stream',
|
||||
as_attachment=True,
|
||||
attachment_filename=f"patched_{library_name}"
|
||||
download_name=f"patched_{library_name}"
|
||||
)
|
||||
except Exception as e:
|
||||
logger.error(f"Error sending patched file: {str(e)}")
|
||||
@@ -332,7 +332,7 @@ def api():
|
||||
patched_file_path,
|
||||
mimetype='application/octet-stream',
|
||||
as_attachment=True,
|
||||
attachment_filename=patched_filename
|
||||
download_name=patched_filename
|
||||
))
|
||||
os.remove(file_path)
|
||||
os.remove(patched_file_path)
|
||||
|
||||
Reference in New Issue
Block a user