diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index 233a8858..3bf31be3 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -2302,13 +2302,13 @@ def select(clas, quoi, mde=''): """ s= ['', '', '', '', '', '', '', '', '', ''] - def f(a): + def unicodize(a): try: return unicode(a, 'utf-8') except: return a while 1: - s = map(f, s) + s = map(unicodize, s) arg = u'--title "Recherche %s" ' % ' '.join(quoi.split()[:-1]) arg += u'--help-button ' arg += u'--form "Entrez vos paramètres de recherche" 0 0 0 '