Merge pull request #872 from RumovZ/fix-deck-check

Fix deck check and thus blue sync arrow bug
This commit is contained in:
Damien Elmes 2020-12-29 10:11:59 +10:00 committed by GitHub
commit cb93a0909c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -430,7 +430,7 @@ class DeckManager:
def selected(self) -> int: def selected(self) -> int:
"The currently selected did." "The currently selected did."
return self.col.conf["curDeck"] return int(self.col.conf["curDeck"])
def current(self) -> Deck: def current(self) -> Deck:
return self.get(self.selected()) return self.get(self.selected())