From 427bf268fc979a6190b4689f42705f5e17048a20 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 22 Mar 2020 21:56:02 +1000 Subject: [PATCH] apply same list->tuple fix to v1 sched --- pylib/anki/sched.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pylib/anki/sched.py b/pylib/anki/sched.py index 7aacb97cd..0c59773bc 100644 --- a/pylib/anki/sched.py +++ b/pylib/anki/sched.py @@ -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