mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
remove unused decks.count()
This commit is contained in:
parent
11fdd96a44
commit
c79b6835bf
1 changed files with 0 additions and 3 deletions
|
@ -200,9 +200,6 @@ class DeckManager:
|
||||||
deck["browserCollapsed"] = not collapsed
|
deck["browserCollapsed"] = not collapsed
|
||||||
self.save(deck)
|
self.save(deck)
|
||||||
|
|
||||||
def count(self) -> int:
|
|
||||||
return len(self.decks)
|
|
||||||
|
|
||||||
def get(self, did: Union[int, str], default: bool = True) -> Any:
|
def get(self, did: Union[int, str], default: bool = True) -> Any:
|
||||||
id = str(did)
|
id = str(did)
|
||||||
if id in self.decks:
|
if id in self.decks:
|
||||||
|
|
Loading…
Reference in a new issue