Skip to content
Snippets Groups Projects
Commit 3042d58a authored by hkethi002's avatar hkethi002 Committed by GitHub
Browse files

Merge pull request #810 from scitran/process-cursor-context

Name change was missed in process_cursor
parents 6f9be4ab 36cd01e1
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,7 @@ def process_cursor(cursor, closure, context = None):
if 100 * (cursor_index / cursor_size) >= next_percent:
logging.info('{} percent complete ...'.format(next_percent))
next_percent = next_percent + percent_increment
if optional_param == None:
if context == None:
result = closure(document)
else:
result = closure(document, context)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment