json object writing ...

pull/1/head
Steve L. Nyemba 4 years ago
parent 4a985e82dc
commit 5676c4991f

@ -8,7 +8,7 @@ def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
args = {
"name":"data-transport",
"version":"1.1.6",
"version":"1.1.8",
"author":"The Phi Technology LLC","author_email":"info@the-phi.com",
"license":"MIT",
"packages":["transport"]}

@ -95,7 +95,7 @@ class DiskWriter(Writer):
f.write(self.format(info))
else:
if not type(info) == str :
f.write(json.dumps(info))
f.write(json.dumps(info)+"\n")
else:
f.write(info)
f.close()

Loading…
Cancel
Save