7711: Fix tree views in python3

This commit is contained in:
Nick Hall 2014-05-17 19:32:37 +01:00
parent 61ba0edd25
commit 28a70926ab

View File

@ -90,10 +90,10 @@ class Node(object):
#sortkey must be localized sort, so
self.sortkey = glocale.sort_key(sortkey)
if not self.sortkey:
self.sortkey = ''
self.sortkey = b''
else:
self.name = ''
self.sortkey = ''
self.sortkey = b''
self.ref = ref
self.handle = handle
self.secondary = secondary