From d8cc1253acfaf61d7bdc93ab4a9b6206145db0c9 Mon Sep 17 00:00:00 2001 From: noah morrison Date: Mon, 3 Nov 2014 16:40:48 -0500 Subject: [PATCH] Fixed the bug from last night. Removed some leftover code from testing that messed things up. --- chevron.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/chevron.py b/chevron.py index a81497c..14ce32a 100755 --- a/chevron.py +++ b/chevron.py @@ -82,9 +82,7 @@ def tokenize(template): while not template.closed: literal = grab_literal() - if literal == '': - continue - else: + if literal != '': yield ('literal', literal) if template.closed: -- 2.47.3