vps交流

[疑问] 安装bT7.7无法下载文件


安装bt7.7 后无法下载文件 下载提示

TypeError: send_file() got an unexpected keyword argument ‘add_etags’

Traceback (most recent call last):
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2529, in wsgi_app
    response = self.full_dispatch_request()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 943, in download
    cache_timeout=0)
TypeError: send_file() got an unexpected keyword argument ‘add_etags’

哪位大佬帮忙看下

/www/server/panel/pyenv/bin/pip install -U Flask==2.1.2

运行完重启面板

赞(0)
版权声明:本贴采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
帖子名称:《[疑问] 安装bT7.7无法下载文件》
帖子链接:https://bbs.toot.su/190180.html