I had parenthesis missing around...
I had parenthesis missing around the "all ok" in the print at the end of the main... I coulndn't run the code unless I added them on my own... I'm not doing python for a long time, so maybe they are optionnal, but in that way it means there is a problem somewhere else...