Le 22/08/2012 13:27, Sam Pepler a écrit :
Player and p both look right when I print them, but the if statement
will not trigger. Any ideas? player and p are objects of the same type.

Nothing specific to Jinja here, it only uses Python’s == operator.

What is the type of these objects? Does the type have an __eq__ method? How are GAME.player and player obtained?

--
Simon Sapin

--
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to