Merge pull request #519 from zjosua/lrnQueue
Fill _lrnQueue with tuples, not lists
This commit is contained in:
commit
4f99d0d3e5
@ -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 New Issue
Block a user