formatting

This commit is contained in:
Damien Elmes 2020-05-16 14:59:47 +10:00
parent efde279588
commit bd1ce123af

View File

@ -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: