r13604 - Products.ATVocabularyManager/branches/1.5/Products/ATVocabularyManager/types/simple

"Jens W. Klein" <[email protected]> Tue, 03 May 2011 16:34:14 +0000
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: jensens
Date: Tue May  3 16:34:14 2011
New Revision: 13604

Modified:
   Products.ATVocabularyManager/branches/1.5/Products/ATVocabularyManager/types/simple/term.py
Log:
kotz, now it works, dont ask why

Modified: Products.ATVocabularyManager/branches/1.5/Products/ATVocabularyManager/types/simple/term.py
==============================================================================
--- Products.ATVocabularyManager/branches/1.5/Products/ATVocabularyManager/types/simple/term.py	(original)
+++ Products.ATVocabularyManager/branches/1.5/Products/ATVocabularyManager/types/simple/term.py	Tue May  3 16:34:14 2011
@@ -83,7 +83,7 @@
             trans = self.getTranslation(lang)
             # if not found, we return the title of the current term
             return trans and trans.Title() or self.Title()
-        return self.Title()
+        return self.Title().decode('utf8')
 
     def getTermKeyPath(self):
         # terms of flat vocabularies can savely return their key

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd