Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Bryant committed Oct 16, 2017
1 parent b98dee4 commit 343a1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/align_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def check_split(source, target, edits):
for t in tokens[1:-1]:
try:
i = string.index(t)
string = string[i+len():]
string = string[i+len(t):]
except:
# Token not found
return False
Expand Down

0 comments on commit 343a1a7

Please sign in to comment.