[python]Syntax error on Jinja2 – end of statement block – got %

The bug in the script is kind of difficult to hunt, however a hint whenever you see exception like this:
Screenshot 2019-09-20 at 2.40.34 PM
Always check if there is a space between the % and the }

The exception was raised due to this:
Screenshot 2019-09-20 at 2.42.08 PM

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s