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

Merge pull request #787 from scitran/db-process-cursor-fix

changed cursor_index to float to fix zeros problem
parents 0d0c49c6 bb79263a
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ def process_cursor(cursor, closure):
failed = False
cursor_size = cursor.count()
cursor_index = 0
cursor_index = 0.0
next_percent = 5.0
percent_increment = 5
if(cursor_size < 20):
......
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