From 1a6fa17276bbe07f35db0838a0e08a9dce4741c9 Mon Sep 17 00:00:00 2001 From: jsomarakis Date: Sun, 17 Nov 2019 14:04:20 +0200 Subject: [PATCH] Create_task() Schedule parameter bug. Parameter was not passing correctly. --- openvas_lib/ompv7.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openvas_lib/ompv7.py b/openvas_lib/ompv7.py index 40a488c..13c9dd7 100644 --- a/openvas_lib/ompv7.py +++ b/openvas_lib/ompv7.py @@ -706,8 +706,7 @@ def create_task(self, name, target, config=None, schedule=None, comment="", max_ """ % (name, comment, config, target) if schedule: - request += """%s""" % (schedule) - + request += """""" % (schedule) if max_checks or max_hosts: request += """"""