From 55aa889bd9c86e61eb805934d7022453bc07ddfe Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sun, 28 Jan 2018 20:12:36 -0600 Subject: [PATCH] now update block datasaved stat when saved --- onionr/communicator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionr/communicator.py b/onionr/communicator.py index 9bba7c6e..0c35fcf5 100755 --- a/onionr/communicator.py +++ b/onionr/communicator.py @@ -138,7 +138,7 @@ class OnionrCommunicate: continue hasher.update(data.encode()) digest = hasher.hexdigest() - if digest is bytes: + if type(digest) is bytes: digest = digest.decode() if digest == hash.strip(): self._core.setData(data)