Oops broken py34 again

This commit is contained in:
Clint Byrum 2015-11-11 16:18:16 -08:00
parent b6e9bc8cce
commit 4ea517f53f
1 changed files with 2 additions and 2 deletions

View File

@ -85,8 +85,8 @@ def main(argv=None, stdout=None):
mime_type='application/json')
stream.stopTestRun()
else:
stdout.write(content.decode('utf-8'))
stdout.write("\n")
stdout.write(content)
stdout.write(b"\n")
if args.output:
with open(args.output, 'wb') as output:
output.write(content)