mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix sync getting stuck in a loop when changes is a multiple of 250
This commit is contained in:
parent
6143a7e218
commit
e29d380d4c
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ from notes where %s"""
|
|||
lim = 250
|
||||
while self.tablesLeft and lim:
|
||||
curTable = self.tablesLeft[0]
|
||||
if not self.chunkRows:
|
||||
if self.chunkRows is None:
|
||||
self.chunkRows = self.getChunkRows(curTable)
|
||||
rows = self.chunkRows[:lim]
|
||||
self.chunkRows = self.chunkRows[lim:]
|
||||
|
|
Loading…
Reference in a new issue