Skip to content

Commit

Permalink
update offset value
Browse files Browse the repository at this point in the history
  • Loading branch information
tcitry committed Aug 28, 2020
1 parent 79bf274 commit b45eba0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mirage/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def executor(self, apps=None, schema_editor=None, offset=0, total=None, limit=10
if value_list:
if limit == -1:
t.update(len(value_list) - offset)
offset = total
else:
t.update(value_list[-1][0] - offset)
offset = value_list[-1][0]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-mirage-field',
version='1.1.5',
version='1.1.6',
install_requires=[
"cryptography",
"tqdm",
Expand Down

0 comments on commit b45eba0

Please sign in to comment.