From 0b94eee97ea9e7473d6644c7226b4b40cb840c72 Mon Sep 17 00:00:00 2001 From: zjosua Date: Sun, 22 Mar 2020 11:49:40 +0100 Subject: [PATCH] Fill _lrnQueue with tuples, not lists --- pylib/anki/schedv2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pylib/anki/schedv2.py b/pylib/anki/schedv2.py index 62ddbc852..9f14e253b 100644 --- a/pylib/anki/schedv2.py +++ b/pylib/anki/schedv2.py @@ -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