Update app.py
parent
85c6c12275
commit
009cb113dd
5
app.py
5
app.py
|
@ -130,8 +130,9 @@ def download_lc(lc):
|
||||||
if lc and len(lc) > 5 and os.path.exists('./' + lc):
|
if lc and len(lc) > 5 and os.path.exists('./' + lc):
|
||||||
return send_file(
|
return send_file(
|
||||||
lc,
|
lc,
|
||||||
as_attachment=True,
|
None,
|
||||||
attachment_filename='Custom.mxtpro'
|
True,
|
||||||
|
'Custom.mxtpro'
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
return "请检查用户名、版本号是否正确!"
|
return "请检查用户名、版本号是否正确!"
|
||||||
|
|
Loading…
Reference in New Issue