diff --git a/plugins/op_waf/tool_task.py b/plugins/op_waf/tool_task.py index a1c6366ac..90a62d1df 100644 --- a/plugins/op_waf/tool_task.py +++ b/plugins/op_waf/tool_task.py @@ -93,7 +93,7 @@ logs_file=$plugin_path/${rname}.log params = { 'name': _name, - 'type': _type_day, + 'type': cfg['period'], 'week': "", 'where1': cfg['where1'], 'hour': cfg['hour'],