为了能快速了解并处理您的问题,请提供以下基础信息: 面板、插件版本:PAN_VERSION: 7.9.9
系统版本:Ubuntu 20.04.6 LTS x86_64(Py3.7.9)
相关截图(日志、错误):
REQUEST_DATE: 2023-04-12 16:47:27 PAN_VERSION: 7.9.9 OS_VERSION: Ubuntu 20.04.6 LTS x86_64(Py3.7.9) REQUEST_URI: POST /crontab?action=GetCrontabREQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 1996, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1943, in run result = getattr(toObject, get.action)(get) File "class/crontab.py", line 35, in GetCrontab if cront['type']=="day":TypeError: string indices must be integers |