出错了,面板运行时发生错误!AttributeError: 'bool' object has no attribute 'find'
REQUEST_DATE: 2023-04-13 11:27:11 PAN_VERSION: 7.9.9 OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: 172.247.129.92 REQUEST_URI: POST /crontab?action=modify_crondREQUEST_FORM: {'name': '定时采集', 'type': 'hour', 'where1': '', 'hour': '', 'minute': '15', 'week': '', 'sType': 'toUrl', 'sBody': '', 'sName': '', 'backupTo': '', 'save': '', 'urladdress': 'https://longzhuyingshi.com/api.php/timming/index.html?enforce=1&name=ffzy', 'save_local': '1', 'notice': '', 'notice_channel': '', 'datab_name': '', 'tables_name': '', 'id': '3'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 1995, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1942, in run result = getattr(toObject, get.action)(get) File "class/crontab.py", line 220, in modify_crond self.remove_for_crond(cronInfo['echo']) File "class/crontab.py", line 415, in remove_for_crond if conf.find(str(echo)) == -1: return TrueAttributeError: 'bool' object has no attribute 'find'
|