本帖最后由 宝塔用户_abblun 于 2024-12-14 12:47 编辑
为了能快速了解并处理您的问题,请提供以下基础信息: 系统版本:CentOS 8.2.2004 x86_64(Py3.7.9) - 9.3.0
问题描述: 出错了,面板运行时发生错误!TypeError: send_file() got an unexpected keyword argument 'etag'
REQUEST_DATE: 2024-12-14 11:24:26 VERSION: CentOS 8.2.2004 x86_64(Py3.7.9) - 9.3.0 REMOTE_ADDR: 27.154.128.184 REQUEST_URI: GET /favicon.ico?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
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 1763, in send_favicon return send_file(s_file, conditional=True, etag=True)TypeError: send_file() got an unexpected keyword argument 'etag'
|
-
|