Skip to content
Snippets Groups Projects
Commit 2189e641 authored by Jeremy M Fee's avatar Jeremy M Fee
Browse files

Update stdout output check in edge factory

parent eb13511d
No related branches found
No related tags found
No related merge requests found
...@@ -153,7 +153,7 @@ class EdgeFactory(TimeseriesFactory): ...@@ -153,7 +153,7 @@ class EdgeFactory(TimeseriesFactory):
# restore stdout # restore stdout
finally: finally:
output = temp_stdout.getvalue() output = temp_stdout.getvalue()
if output != '': if output:
sys.stderr.write(str(output)) sys.stderr.write(str(output))
temp_stdout.close() temp_stdout.close()
sys.stdout = original_stdout sys.stdout = original_stdout
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment