Skip to content

Commit 57b377d

Browse files
committed
llms and depracated stuff
1 parent a72cbf1 commit 57b377d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

root-module-manual/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def patch():
287287
file_path,
288288
mimetype='application/octet-stream',
289289
as_attachment=True,
290-
attachment_filename=f"patched_{library_name}"
290+
download_name=f"patched_{library_name}"
291291
)
292292
except Exception as e:
293293
logger.error(f"Error sending patched file: {str(e)}")
@@ -332,7 +332,7 @@ def api():
332332
patched_file_path,
333333
mimetype='application/octet-stream',
334334
as_attachment=True,
335-
attachment_filename=patched_filename
335+
download_name=patched_filename
336336
))
337337
os.remove(file_path)
338338
os.remove(patched_file_path)

0 commit comments

Comments
 (0)