More py34 fixes
This commit is contained in:
parent
935f575672
commit
3154a0f8a3
|
@ -81,8 +81,8 @@ def main(argv=None, stdout=None):
|
|||
mime_type='application/json')
|
||||
stream.stopTestRun()
|
||||
else:
|
||||
stdout.write(content)
|
||||
stdout.write(b"\n")
|
||||
stdout.write(content.decode('utf-8'))
|
||||
stdout.write("\n")
|
||||
if args.output:
|
||||
with open(args.output, 'wb') as output:
|
||||
output.write(content)
|
||||
|
|
Loading…
Reference in New Issue