From 5676c4991ffe371104aeba3239526d4acdd7544b Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Tue, 11 Aug 2020 17:20:46 -0500 Subject: [PATCH] json object writing ... --- setup.py | 2 +- transport/disk.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 8a6a504..60340ee 100644 --- a/setup.py +++ b/setup.py @@ -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"]} diff --git a/transport/disk.py b/transport/disk.py index 02d03c6..0639086 100644 --- a/transport/disk.py +++ b/transport/disk.py @@ -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()