From cabc58feb4b74191356f05b3852a2a6041f2d742 Mon Sep 17 00:00:00 2001 From: Brannon King Date: Mon, 11 Feb 2019 11:01:07 -0700 Subject: [PATCH] fix decoding error in torba log --- torba/orchstr8/node.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/torba/orchstr8/node.py b/torba/orchstr8/node.py index a75175222..e9113de8c 100644 --- a/torba/orchstr8/node.py +++ b/torba/orchstr8/node.py @@ -237,12 +237,12 @@ class BlockchainProcess(asyncio.SubprocessProtocol): def pipe_data_received(self, fd, data): if self.log and not any(ignore in data for ignore in self.IGNORE_OUTPUT): if b'Error:' in data: - self.log.error(data.decode('ascii')) + self.log.error(data.decode()) else: - self.log.info(data.decode('ascii')) + self.log.info(data.decode()) if b'Error:' in data: self.ready.set() - raise SystemError(data.decode('ascii')) + raise SystemError(data.decode()) elif b'Done loading' in data: self.ready.set()