Commit 70aeb89a authored by Gabriel Detraz's avatar Gabriel Detraz

Impression ticket aid[0]

parent fbfe1865
......@@ -200,9 +200,9 @@ class Dialog(machine.Dialog, blacklist.Dialog):
def proprio_ticket(self, proprio, cont, reset=False, return_obj=False):
if isinstance(proprio, objets.adherent):
search = "aid=%s" % proprio['aid']
search = u"aid=%s" % proprio['aid'][0]
elif isinstance(proprio,
search = "cid=%s" % proprio['cid']
search = u"cid=%s" % proprio['cid'][0]
raise ValueError("Objet inconnu et non géré")
if reset:
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