json object writing ...

This commit is contained in:
Steve Nyemba 2020-08-11 17:20:46 -05:00
parent 4a985e82dc
commit 5676c4991f
2 changed files with 2 additions and 2 deletions

View File

@ -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"]}

View File

@ -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()