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 += """"""