From 6fbd82f2f85a22d87894123808c09cff7d0c2440 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Sun, 28 Feb 2021 19:39:14 +0100 Subject: [PATCH] Change signature of editor onBridgeCmd to Any instead of None --- qt/aqt/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index 89c0a69b8..1b47c8f3c 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -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