From 31ea0865d11623e20bd4e6919e3c3d50eeed2e64 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 10 Feb 2025 17:23:52 +0800 Subject: [PATCH] Update plugin.py --- web/utils/plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/utils/plugin.py b/web/utils/plugin.py index a897d4bdb..1d17638fc 100644 --- a/web/utils/plugin.py +++ b/web/utils/plugin.py @@ -383,6 +383,8 @@ class plugin(object): continue task_sign = tmpt.split('-') task_len = len(task_sign) + if task_len<2: + continue task_name = task_sign[0].lower() task_ver = task_sign[1]