|
本帖最后由 paopao666888 于 2022-11-4 23:20 编辑
7.9.5登录的时候输错密码验证码加载不出来,选择在新标签打开后出错!!!
出错了,面板运行时发生错误!TypeError: send_file() got an unexpected keyword argument 'cache_timeout'
REQUEST_DATE: 2022-11-04 23:19:53 PAN_VERSION: 7.8.0 OS_VERSION: Ubuntu 18.04.4 LTS x86_64(Py3.7.8) REMOTE_ADDR: 103.56.55.210 REQUEST_URI: GET /code?1667575193718REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2525, in wsgi_app response = self.full_dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1822, in full_dispatch_request rv = self.handle_user_exception(e) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1820, in full_dispatch_request rv = self.dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1796, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/www/server/panel/BTPanel/__init__.py", line 1236, in code return send_file(out, mimetype='image/png', cache_timeout=0)TypeError: send_file() got an unexpected keyword argument 'cache_timeout'
|
|