Skip to content
Snippets Groups Projects
Commit b6e445b7 authored by Alex Wiens's avatar Alex Wiens
Browse files

Prule: Add stdout.flush

parent 07c6f82d
Branches
No related tags found
No related merge requests found
...@@ -519,6 +519,7 @@ if __name__ == "__main__": ...@@ -519,6 +519,7 @@ if __name__ == "__main__":
try: try:
json.dump(job_output, sys.stdout) json.dump(job_output, sys.stdout)
print() # add newline after json print() # add newline after json
sys.stdout.flush()
except Exception as e: except Exception as e:
error_msg = "Error on writing to stdout" error_msg = "Error on writing to stdout"
log.print(log.error, error_msg) log.print(log.error, error_msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment