step -= 1 si step = 0 ça fait tout drôle.
This commit is contained in:
parent
2c1674038e
commit
1df6eb37f5
1 changed files with 4 additions and 1 deletions
|
@ -2204,7 +2204,10 @@ def new_adher(adher):
|
||||||
|
|
||||||
step = 0
|
step = 0
|
||||||
while step < len(steps):
|
while step < len(steps):
|
||||||
if steps[step](adher): step -= 1
|
if steps[step](adher):
|
||||||
|
if step == 0:
|
||||||
|
return 1
|
||||||
|
step -= 1
|
||||||
else: step += 1
|
else: step += 1
|
||||||
|
|
||||||
if not confirm(adher): break
|
if not confirm(adher): break
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue