Merge pull request #83 from neingeist/fix/json-newline-at-end

Add a newline at the end of the JSON file
This commit is contained in:
baeuml
2014-09-01 09:40:06 +02:00
+1
View File
@@ -313,6 +313,7 @@ class JsonContainer(AnnotationContainer):
"""
f = open(fname, "w")
json.dump(annotations, f, indent=4, separators=(',', ': '), sort_keys=True)
f.write("\n")
class MsgpackContainer(AnnotationContainer):