出错了,面板运行时发生错误!TypeError: '>=' not supported between instances of 'str' and 'int'
REQUEST_DATE: 2022-12-12 09:18:10 PAN_VERSION: 7.9.0 OS_VERSION: CentOS 7.5.1804 x86_64(Py3.7.9) REMOTE_ADDR: 116.232.138.158 REQUEST_URI: GET /?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise raise value 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 297, in home data[public.to_string([112, 100])], data['pro_end'], data['ltd_end'] = get_pd() File "/www/server/panel/BTPanel/__init__.py", line 1835, in get_pd if tmp >= 0 and ltd in [-1, -2]:TypeError: '>=' not supported between instances of 'str' and 'int' |
|