Skip to content

Commit

Permalink
Added writing out newline to end of json
Browse files Browse the repository at this point in the history
  • Loading branch information
IanLee1521 committed Oct 21, 2017
1 parent f187fa1 commit 3ccc408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pshtt/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def main():
with smart_open(out_filename) as out_file:
json_content = utils.json_for(results)

out_file.write(json_content)
out_file.write(json_content + '\n')

if out_file is not sys.stdout:
logging.warn("Wrote results to %s.", out_filename)
Expand Down

0 comments on commit 3ccc408

Please sign in to comment.