mirror of
https://github.com/ankitects/anki.git
synced 2026-01-14 06:23:57 -05:00
Change signature of editor onBridgeCmd to Any instead of None
This commit is contained in:
parent
59c69bd8dd
commit
d8e8153aae
1 changed files with 1 additions and 1 deletions
|
|
@ -429,7 +429,7 @@ class Editor:
|
|||
# JS->Python bridge
|
||||
######################################################################
|
||||
|
||||
def onBridgeCmd(self, cmd: str) -> None:
|
||||
def onBridgeCmd(self, cmd: str) -> Any:
|
||||
if not self.note:
|
||||
# shutdown
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue