apply same list->tuple fix to v1 sched

This commit is contained in:
Damien Elmes 2020-03-22 21:56:02 +10:00
parent 4f99d0d3e5
commit 427bf268fc

View File

@ -291,6 +291,8 @@ limit %d"""
% (self._deckLimit(), self.reportLimit),
self.dayCutoff,
)
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