formatting
This commit is contained in:
parent
efde279588
commit
bd1ce123af
@ -174,7 +174,9 @@ class DeckManager:
|
|||||||
return self.col.backend.deck_tree(include_counts=False)
|
return self.col.backend.deck_tree(include_counts=False)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def find_deck_in_tree(cls, node: DeckTreeNode, deck_id: int) -> Optional[DeckTreeNode]:
|
def find_deck_in_tree(
|
||||||
|
cls, node: DeckTreeNode, deck_id: int
|
||||||
|
) -> Optional[DeckTreeNode]:
|
||||||
if node.deck_id == deck_id:
|
if node.deck_id == deck_id:
|
||||||
return node
|
return node
|
||||||
for child in node.children:
|
for child in node.children:
|
||||||
|
Loading…
Reference in New Issue
Block a user