mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Merge pull request #519 from zjosua/lrnQueue
Fill _lrnQueue with tuples, not lists
This commit is contained in:
commit
4f99d0d3e5
1 changed files with 2 additions and 0 deletions
|
@ -549,6 +549,8 @@ limit %d"""
|
||||||
% (self._deckLimit(), self.reportLimit),
|
% (self._deckLimit(), self.reportLimit),
|
||||||
cutoff,
|
cutoff,
|
||||||
)
|
)
|
||||||
|
for i in range(len(self._lrnQueue)):
|
||||||
|
self._lrnQueue[i] = (self._lrnQueue[i][0], self._lrnQueue[i][1])
|
||||||
# as it arrives sorted by did first, we need to sort it
|
# as it arrives sorted by did first, we need to sort it
|
||||||
self._lrnQueue.sort()
|
self._lrnQueue.sort()
|
||||||
return self._lrnQueue
|
return self._lrnQueue
|
||||||
|
|
Loading…
Reference in a new issue