diff MoinMoin/theme/__init__.py @ 4480:af8cea9bfcda

made cfg.interwikiname a unicode object (str only worked for ascii)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 07 Jan 2009 01:17:06 +0100
parents 087eac1e1497
children 6268799f3966
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Tue Jan 06 20:49:20 2009 +0100
+++ b/MoinMoin/theme/__init__.py	Wed Jan 07 01:17:06 2009 +0100
@@ -209,7 +209,7 @@
         """
         if self.request.cfg.show_interwiki:
             page = wikiutil.getFrontPage(self.request)
-            text = self.request.cfg.interwikiname or 'Self'
+            text = self.request.cfg.interwikiname or u'Self'
             link = page.link_to(self.request, text=text, rel='nofollow')
             html = u'<div id="interwiki"><span>%s</span></div>' % link
         else: