jeudi 1 décembre 2016

jinja : using variable from for loop inside if statement

I am trying to use a vraiable in a "if" statement, this variable is defined in a for loop, but I cannot get it to works, here is a code excerpt :



I think the code is self explanatory, if not please ask !

I know my code is not the best looking one, if you have any advices I'd be happy to take them !

Aucun commentaire:

Enregistrer un commentaire