Commit ff05e4af authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

[gest_crans] Collision entre un nom de variable et un nom de fonction.

parent f16e44b0
......@@ -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 '
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment