mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Change signature of editor onBridgeCmd to Any instead of None
This commit is contained in:
parent
da0317cb85
commit
6fbd82f2f8
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ class Editor:
|
||||||
# JS->Python bridge
|
# JS->Python bridge
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
def onBridgeCmd(self, cmd: str) -> None:
|
def onBridgeCmd(self, cmd: str) -> Any:
|
||||||
if not self.note:
|
if not self.note:
|
||||||
# shutdown
|
# shutdown
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue