Skip to content

Commit b45eba0

Browse files
committed
update offset value
1 parent 79bf274 commit b45eba0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mirage/tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def executor(self, apps=None, schema_editor=None, offset=0, total=None, limit=10
7979
if value_list:
8080
if limit == -1:
8181
t.update(len(value_list) - offset)
82+
offset = total
8283
else:
8384
t.update(value_list[-1][0] - offset)
8485
offset = value_list[-1][0]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
88
setup(
99
name='django-mirage-field',
10-
version='1.1.5',
10+
version='1.1.6',
1111
install_requires=[
1212
"cryptography",
1313
"tqdm",

0 commit comments

Comments
 (0)