]> Devi Nivas Git - chevron.git/commitdiff
Fixed random character nomming
authornoah morrison <noah@morrison.ph>
Tue, 11 Nov 2014 01:32:46 +0000 (20:32 -0500)
committernoah morrison <noah@morrison.ph>
Tue, 11 Nov 2014 02:13:00 +0000 (21:13 -0500)
entei.py

index 210491c6fa4d759450f0cf06a1a62406fc3e720f..3941172dde423e1dfed92b6fa571541a8c58b53b 100755 (executable)
--- a/entei.py
+++ b/entei.py
@@ -126,7 +126,7 @@ def tokenize(template):
                 if template.is_finished:
                     template.is_finished = False
 
-                template.seek(template.tell() - len(until))
+                template.seek(template.tell() - (len(until) + 1))
 
         if literal != '':
             yield ('literal', literal)