diff --git a/oargen.py b/oargen.py
index 3215c7fd22bc6e0b51e865917ffab050c535cdb7..89e7071538c9f27679929403b161671213e4686b 100755
--- a/oargen.py
+++ b/oargen.py
@@ -49,14 +49,14 @@ def main():
 
     command = ["oarsub"]
     command.append("-p")
-    properties = "\""
+    properties = ""
     if args.gpu:
         properties += "(gpu IS NOT NULL)"
     else:
         properties += "(gpu IS NULL)"
     if args.host is not None:
         properties += " AND host LIKE '{}'".format(args.host)
-    properties += "\""
+    properties += ""
     command.append(properties)
 
     command.append("-l")