Skip to content
Snippets Groups Projects
Commit c505010e authored by Jeremy Auguste's avatar Jeremy Auguste
Browse files

Minor change

parent bf457aaf
No related branches found
No related tags found
No related merge requests found
...@@ -50,9 +50,9 @@ def main(): ...@@ -50,9 +50,9 @@ def main():
command = ["oarsub"] command = ["oarsub"]
properties = "-p \"" properties = "-p \""
if args.gpu: if args.gpu:
properties += "gpu IS NOT NULL" properties += "(gpu IS NOT NULL)"
else: else:
properties += "gpu IS NULL" properties += "(gpu IS NULL)"
if args.host is not None: if args.host is not None:
properties += " AND host LIKE '{}'".format(args.host) properties += " AND host LIKE '{}'".format(args.host)
properties += "\"" properties += "\""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment