From 5db8ed18a3a3aae89bb60695dccba172a151cdb9 Mon Sep 17 00:00:00 2001 From: Sajeeb Lohani Date: Sat, 11 Jan 2020 23:56:56 +1100 Subject: [PATCH 1/2] Stops printing of empty lines --- Interlace/lib/threader.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Interlace/lib/threader.py b/Interlace/lib/threader.py index 8129a48..014c7f3 100644 --- a/Interlace/lib/threader.py +++ b/Interlace/lib/threader.py @@ -49,7 +49,9 @@ class Task(object): def _run_task(self, t=False): if t: s = subprocess.Popen(self.task, shell=True, stdout=subprocess.PIPE) - t.write(s.stdout.readline().decode("utf-8")) + out = s.stdout.readline().decode("utf-8") + if out != "": + t.write(out) else: subprocess.Popen(self.task, shell=True) From 3279a454a47afe9c58b68ecc5f2084e8d3994861 Mon Sep 17 00:00:00 2001 From: Sajeeb Lohani Date: Sat, 11 Jan 2020 23:58:00 +1100 Subject: [PATCH 2/2] Upgrade version Should patch issue #89 --- Interlace/lib/core/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Interlace/lib/core/__version__.py b/Interlace/lib/core/__version__.py index 6da2111..043606c 100644 --- a/Interlace/lib/core/__version__.py +++ b/Interlace/lib/core/__version__.py @@ -1 +1 @@ -__version__ = '1.7.3' +__version__ = '1.7.4'