Commit 13143660 authored by Christian Clauss's avatar Christian Clauss Committed by Merlijn Wajer
Browse files

Undefined name: Initialize match_number = 0

Line 50 and 51 are currently unreachable code but just in case things change.
parent 46c16090
...@@ -29,6 +29,7 @@ re_braces = re.compile(r'(\{\{\{|\}\}\})') ...@@ -29,6 +29,7 @@ re_braces = re.compile(r'(\{\{\{|\}\}\})')
# TODO rename and note unstable api # TODO rename and note unstable api
def find_word_boxes(solr_line, hocr_text, hocr_par, page, page_no): def find_word_boxes(solr_line, hocr_text, hocr_par, page, page_no):
match_number = 0
match_with = solr_line match_with = solr_line
cur = { cur = {
'text': solr_line, 'text': solr_line,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment