7711: Fix tree views in python3

This commit is contained in:
Nick Hall 2014-05-17 19:32:37 +01:00
parent d81071a00e
commit 02b017c402

View File

@ -92,10 +92,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