From: noah morrison Date: Tue, 11 Nov 2014 01:32:46 +0000 (-0500) Subject: Fixed random character nomming X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=4caeaf2cdd2627c6b6b33fa249a66d301d584475;p=chevron.git Fixed random character nomming --- 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)