Fill _lrnQueue with tuples, not lists

This commit is contained in:
zjosua 2020-03-22 11:49:40 +01:00
parent 430f1ad616
commit 0b94eee97e

View file

@ -549,6 +549,8 @@ limit %d"""
% (self._deckLimit(), self.reportLimit),
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
self._lrnQueue.sort()
return self._lrnQueue