mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
run black
This commit is contained in:
parent
68fdd651e5
commit
5ce59f6559
1 changed files with 4 additions and 1 deletions
|
@ -739,9 +739,12 @@ class RustBackend:
|
|||
self._run_command(pb.BackendInput(check_database=pb.Empty()))
|
||||
|
||||
def legacy_deck_tree(self) -> Sequence:
|
||||
bytes = self._run_command(pb.BackendInput(deck_tree_legacy=pb.Empty())).deck_tree_legacy
|
||||
bytes = self._run_command(
|
||||
pb.BackendInput(deck_tree_legacy=pb.Empty())
|
||||
).deck_tree_legacy
|
||||
return orjson.loads(bytes)[5]
|
||||
|
||||
|
||||
def translate_string_in(
|
||||
key: TR, **kwargs: Union[str, int, float]
|
||||
) -> pb.TranslateStringIn:
|
||||
|
|
Loading…
Reference in a new issue