出错了,面板运行时发生错误!AttributeError: 'NoneType' object has no attribute 'groups'REQUEST_DATE: 2022-08-20 13:20:52 PAN_VERSION: 7.9.41 OS_VERSION: CentOS Stream 8 x86_64(Py3.7.8) REMOTE_ADDR: 60.209.58.224 REQUEST_URI: POST /site?action=GetSecurityREQUEST_FORM: {'id': '1', 'name': 'xsoft.top'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36 Edge/106.0.0.0Traceback (most recent call last): File "class/panelSite.py", line 4985, in GetSecurity data['domains'] = ','.join(list(set(re.search("valid_referers\s+none\s+blocked\s+(.+);\n",tmp).groups()[0].split())))AttributeError: 'NoneType' object has no attribute 'groups'During handling of the above exception, another exception occurred:Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 1822, in publicObject return run_exec().run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1774, in run result = getattr(toObject,get.action)(get) File "class/panelSite.py", line 4987, in GetSecurity data['domains'] = ','.join(list(set(re.search("valid_referers\s+(.+);\n",tmp).groups()[0].split())))AttributeError: 'NoneType' object has no attribute 'groups'
|
|