From 4f8f6c0651f7c6bb2fc108cdfcf68c5f27bb99de Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 19 Dec 2006 17:53:54 +0000 Subject: [PATCH] 2006-12-19 Alex Roitman * src/PluginUtils/_Options.py (save): Use unicode, not str. svn: r7822 --- gramps2/ChangeLog | 3 +++ gramps2/src/PluginUtils/_Options.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 56a7b4c67..2803ea861 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-12-19 Alex Roitman + * src/PluginUtils/_Options.py (save): Use unicode, not str. + 2006-12-18 Alex Roitman * src/PluginUtils/_Options.py (save): Escape special characters. diff --git a/gramps2/src/PluginUtils/_Options.py b/gramps2/src/PluginUtils/_Options.py index 674707fd2..6ece552eb 100644 --- a/gramps2/src/PluginUtils/_Options.py +++ b/gramps2/src/PluginUtils/_Options.py @@ -206,12 +206,12 @@ class OptionListCollection: for list_index in range(len(options[option_name])): f.write(' \n' % ( list_index, - escape(str(options[option_name][list_index]))) ) + escape(unicode(options[option_name][list_index]))) ) f.write(' \n') else: f.write('