Skip to content

Commit

Permalink
fix #15
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Busta committed Jan 10, 2019
1 parent dbdf967 commit 8bfcd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocr_utils.py
Expand Up @@ -25,7 +25,7 @@ def print_seq_ext(wf, codec):
if c > 2:
end_pos = cx
continue
if c > 3 and c < len(codec):
if c > 3 and c < (len(codec)+4):
ordv = codec[c - 4]
char = ordv
if char == ' ' or char == '.' or char == ',' or char == ':':
Expand Down

0 comments on commit 8bfcd8a

Please sign in to comment.