From a52ebcd050859ed5736a8236acae7bceb2a21778 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 29 Dec 2020 10:11:59 +1000 Subject: [PATCH] Merge pull request #872 from RumovZ/fix-deck-check Fix deck check and thus blue sync arrow bug --- pylib/anki/decks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib/anki/decks.py b/pylib/anki/decks.py index 2c0132b5a..0c71ceeac 100644 --- a/pylib/anki/decks.py +++ b/pylib/anki/decks.py @@ -430,7 +430,7 @@ class DeckManager: def selected(self) -> int: "The currently selected did." - return self.col.conf["curDeck"] + return int(self.col.conf["curDeck"]) def current(self) -> Deck: return self.get(self.selected())