From b6773c06a7c149faafae88360dfa5f27eb8ab838 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 22 Aug 2006 04:58:17 +0000 Subject: [PATCH] * src/plugins/ChangeTypes.py (on_apply_clicked): Remove extra unicode conversion. svn: r7229 --- gramps2/ChangeLog | 2 ++ gramps2/src/plugins/ChangeTypes.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index f2130431d..67b2c898b 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,6 @@ 2006-08-21 Alex Roitman + * src/plugins/ChangeTypes.py (on_apply_clicked): Remove extra + unicode conversion. * src/plugins/Checkpoint.py (__init__): Assign dbstate. 2006-08-21 Don Allingham diff --git a/gramps2/src/plugins/ChangeTypes.py b/gramps2/src/plugins/ChangeTypes.py index 9d7a9fb7b..499419b0d 100644 --- a/gramps2/src/plugins/ChangeTypes.py +++ b/gramps2/src/plugins/ChangeTypes.py @@ -152,9 +152,9 @@ class ChangeTypes(Tool.BatchTool, ManagedWindow.ManagedWindow): def on_apply_clicked(self,obj): # Need to store English names for later comparison self.options.handler.options_dict['fromtype'] = EventType._I2EMAP[ - EventType._S2IMAP[unicode(self.auto1.child.get_text())]] + EventType._S2IMAP[self.auto1.child.get_text()]] self.options.handler.options_dict['totype'] = EventType._I2EMAP[ - EventType._S2IMAP[unicode(self.auto2.child.get_text())]] + EventType._S2IMAP[self.auto2.child.get_text()]] modified,msg = self.run_tool(cli=False) OkDialog(_('Change types'),msg,self.window)