Skip to content

Problems with mako.strict_undefined #124

@magical

Description

@magical

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions