Print the line not the output file object

This commit is contained in:
Ian Cordasco 2016-02-07 09:39:58 -06:00
parent 56976671d0
commit 57174a0743

View file

@ -96,7 +96,7 @@ class BaseFormatter(object):
if self.output_fd is not None:
self.output_fd.write(line + self.newline)
else:
print(self.output_fd)
print(line)
def stop(self):
"""Clean up after reporting is finished."""