Prevent str -> unicode conversion of inventoryHash
This commit is contained in:
parent
4255f96d0f
commit
a83c75e647
|
@ -2396,8 +2396,7 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
self.getCurrentSearchLine(tab)
|
self.getCurrentSearchLine(tab)
|
||||||
):
|
):
|
||||||
continue
|
continue
|
||||||
# inventoryHash surprisingly is of type unicode
|
|
||||||
inventoryHash = inventoryHash.encode('utf-8')
|
|
||||||
if tableWidget == inbox \
|
if tableWidget == inbox \
|
||||||
and self.getCurrentAccount(treeWidget) == acct.address \
|
and self.getCurrentAccount(treeWidget) == acct.address \
|
||||||
and self.getCurrentFolder(treeWidget) \
|
and self.getCurrentFolder(treeWidget) \
|
||||||
|
|
Reference in New Issue
Block a user