7711: Fix tree views in python3
This commit is contained in:
parent
d81071a00e
commit
02b017c402
@ -92,10 +92,10 @@ class Node(object):
|
|||||||
#sortkey must be localized sort, so
|
#sortkey must be localized sort, so
|
||||||
self.sortkey = glocale.sort_key(sortkey)
|
self.sortkey = glocale.sort_key(sortkey)
|
||||||
if not self.sortkey:
|
if not self.sortkey:
|
||||||
self.sortkey = ''
|
self.sortkey = b''
|
||||||
else:
|
else:
|
||||||
self.name = ''
|
self.name = ''
|
||||||
self.sortkey = ''
|
self.sortkey = b''
|
||||||
self.ref = ref
|
self.ref = ref
|
||||||
self.handle = handle
|
self.handle = handle
|
||||||
self.secondary = secondary
|
self.secondary = secondary
|
||||||
|
Loading…
Reference in New Issue
Block a user