页面一会就弹出错误
出错了,面板运行时发生错误!
TypeError: send_file() got an unexpected keyword argument 'etag'
REQUEST_DATE: 2025-01-17 10:19:29
VERSION: CentOS 8.2.2004 x86_64(Py3.7.9) - 9.4.0
REMOTE_ADDR: 222.91.149.189
REQUEST_URI: GET /favicon.ico?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 Core/1.94.186.400 QQBrowser/11.3.5195.400
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/www/server/panel/BTPanel/__init__.py", line 1767, in send_favicon
return send_file(s_file, conditional=True, etag=True)
TypeError: send_file() got an unexpected keyword argument 'etag'
|