Commit 597d22dd by Tangui

Condition sur les champs de procédures

parent 07dd7dbf
Showing with 3 additions and 3 deletions
......@@ -49,9 +49,9 @@ with open("data/codes.txt") as f:
'","'+";".join(defendeurs)+
'","'+";".join(defendeurs_mandataire)+'","'+
"-".join(date)+'","'+
tds[1].get_text(strip=True)+'","'+
tds[2].get_text(strip=True)+'","'+
tds[3].get_text(strip=True)+'","'+
(tds[1].get_text(strip=True) if (len(tds) > 1) else "") +'","'+
(tds[2].get_text(strip=True) if (len(tds) > 2) else "") +'","'+
(tds[3].get_text(strip=True) if (len(tds) > 3) else "") +'","'+
(tds[4].get_text(strip=True) if (len(tds) > 4) else "") +
'"')
else:
......
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 sign in to comment