Why is python Flask not returning a template correctly?

前端 未结 0 1600
后悔当初
后悔当初 2021-01-30 05:05

So I have this return code that attaches a file and downloads it trough your browser.

return send_file(vid, as_attachment=True), render_template(\'thanks.html\')
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题