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)
|
||||
|
||||
@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:
|
||||
return node
|
||||
for child in node.children:
|
||||
|
Loading…
Reference in New Issue
Block a user