Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with mako.strict_undefined #124

Open
magical opened this issue Oct 31, 2018 · 0 comments
Open

Problems with mako.strict_undefined #124

magical opened this issue Oct 31, 2018 · 0 comments

Comments

@magical
Copy link
Member

magical commented Oct 31, 2018

With mako.strict_undefined enabled, location pages throw the following error:

NameError: 'cond' is not defined

It seems like mako is getting confused by the list comprehension on this line:

condition_encounters, lambda k: [len(k)] + [cond.id for cond in k]):

This is really an issue with mako, not spline-pokedex, but i'm filing it here so i don't forget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant