mirror of
https://github.com/ankitects/anki.git
synced 2026-01-07 02:53:54 -05:00
Fix: missing b""
This commit is contained in:
parent
44981e6f5c
commit
7d6ee75bf1
1 changed files with 2 additions and 0 deletions
|
|
@ -747,6 +747,7 @@ def next_card_data() -> bytes:
|
|||
def play_avtags():
|
||||
req = PlayAVTagsRequest.FromString(request.data)
|
||||
av_player.play_tags(av_tags_to_native(req.tags))
|
||||
return b""
|
||||
|
||||
|
||||
def reviewer_action():
|
||||
|
|
@ -774,6 +775,7 @@ def reviewer_action():
|
|||
|
||||
req = ReviewerActionRequest.FromString(request.data)
|
||||
aqt.mw.taskman.run_on_main(REVIEWER_ACTIONS[req.menu])
|
||||
return b""
|
||||
|
||||
|
||||
def undo_redo(action: str):
|
||||
|
|
|
|||
Loading…
Reference in a new issue