* 'VirtualMailManager/Config.py'
authorPascal Volk <neverseen@users.sourceforge.net>
Fri, 24 Jul 2009 02:16:34 +0000
changeset 98 e992f03aace7
parent 97 2de22fbab129
child 99 00763850f827
* 'VirtualMailManager/Config.py' - Config.configure(): Eliminated another UnicodeEncodeError Thanks to samfisch for reporting this bug (also rev 110)
VirtualMailManager/Config.py
--- a/VirtualMailManager/Config.py	Fri Jul 24 01:21:12 2009 +0000
+++ b/VirtualMailManager/Config.py	Fri Jul 24 02:16:34 2009 +0000
@@ -134,7 +134,7 @@
         print _(u"Using configuration file: %s\n") % self.__cfgFileName
         for s in sections:
             if s != 'config':
-                print _(u'* Config section: »%s«') % s
+                print _(u'* Config section: »%s«').encode(ENCODING,'replace')%s
             for opt, val in self.items(s):
                 newval = raw_input(
                 _('Enter new value for option %(opt)s [%(val)s]: ').encode(