Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lzcapp committed Jul 5, 2024
1 parent 85c6c12 commit 009cb11
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ def download_lc(lc):
if lc and len(lc) > 5 and os.path.exists('./' + lc):
return send_file(
lc,
as_attachment=True,
attachment_filename='Custom.mxtpro'
None,
True,
'Custom.mxtpro'
)
else:
return "请检查用户名、版本号是否正确!"
Expand Down

0 comments on commit 009cb11

Please sign in to comment.