From c5d2a5a4aa562f0fd02ce28c84150d656f6c4aec Mon Sep 17 00:00:00 2001 From: Pierre Ratinaud Date: Tue, 18 Nov 2014 11:47:55 +0100 Subject: [PATCH] ... --- tree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tree.py b/tree.py index d1df2d6..11de21b 100644 --- a/tree.py +++ b/tree.py @@ -383,8 +383,8 @@ class LeftTree(CT.CustomTreeCtrl): if not item in [self.textroot, self.matroot] : menu = wx.Menu() - info = menu.Append(wx.ID_ANY, _(u"Informations").encode('utf8')) - rename = menu.Append(wx.ID_ANY, _(u"Rename").encode('utf8')) + info = menu.Append(wx.ID_ANY, _(u"Informations").decode('utf8')) + rename = menu.Append(wx.ID_ANY, _(u"Rename").decode('utf8')) menu.AppendSeparator() if 'corpus_name' in pydata : -- 2.7.4