From 4caeaf2cdd2627c6b6b33fa249a66d301d584475 Mon Sep 17 00:00:00 2001 From: noah morrison Date: Mon, 10 Nov 2014 20:32:46 -0500 Subject: [PATCH] Fixed random character nomming --- entei.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entei.py b/entei.py index 210491c..3941172 100755 --- 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) -- 2.47.3