problem solved thank you for your time ,,
i edit
tmpt = public.getStrBetween('[', ']', task['name'])
if not tmpt:
continue
tmp1 = tmpt.split('-')
name1 = tmp1[0].lower()
if sName == 'php':
if name1 != sName or tmp1[1] != version:
continue
isTask = task['status']
else:
if name1 == 'pure':
if name1 != sName:
continue
isTask = task['status']
if isTask == '-1' or isTask == '0':
if 'upgrade' in task['name']:
isTask = '-2'
else:
isTask = '-3'
Maybe my internet network is slow and the system is stuttering, that's something strange about this structure.
File "class/panelPlugin.py", line 610, in check_setup_task
tmpt = public.getStrBetween('[',']',task['name'])