From a83c75e647de2204bc84d38e977456f8e0d4a260 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Thu, 22 Feb 2018 13:23:51 +0200 Subject: [PATCH] Prevent str -> unicode conversion of inventoryHash --- src/bitmessageqt/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index 43d24a19..e2c47a0b 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -2396,8 +2396,7 @@ class MyForm(settingsmixin.SMainWindow): self.getCurrentSearchLine(tab) ): continue - # inventoryHash surprisingly is of type unicode - inventoryHash = inventoryHash.encode('utf-8') + if tableWidget == inbox \ and self.getCurrentAccount(treeWidget) == acct.address \ and self.getCurrentFolder(treeWidget) \