__str__ method could return unicode object, force to decode in str

This commit is contained in:
2013-07-01 16:49:10 +02:00
parent b8bfa02e02
commit 4b5d9b4229
2 changed files with 5 additions and 3 deletions

View File

@ -25,6 +25,7 @@ from copy import copy
from tiramisu.error import RequirementError, PropertiesOptionError
from tiramisu.i18n import _
default_encoding = 'utf-8'
expires_time = 5
ro_remove = ('permissive', 'hidden')