Skip to content

Commit

Permalink
Also handle is not None in jinjify
Browse files Browse the repository at this point in the history
h/t @felixfontein

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 9, 2018
1 parent 86e4d61 commit f2e0ad8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/jinjify.py
Expand Up @@ -27,6 +27,7 @@
['abs(i - current_page)', '(i - current_page)|abs'],
['loop.index', 'loop.index0'],
['is None', 'is none'],
['is not None', 'is not none'],
]

dumber_replacements = [
Expand Down

0 comments on commit f2e0ad8

Please sign in to comment.