summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mpv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpv.py b/mpv.py
index 3fd14ae..9805a30 100644
--- a/mpv.py
+++ b/mpv.py
@@ -993,7 +993,7 @@ class MPV(object):
raise TypeError('register_key_binding expects either an str with an mpv command or a python callable.')
self.command('enable-section', binding_name, 'allow-hide-cursor+allow-vo-dragging')
- def _handle_key_binding_message(self, binding_name, key_state, key_name):
+ def _handle_key_binding_message(self, binding_name, key_state, key_name=None):
self._key_binding_handlers[binding_name](key_state, key_name)
def unregister_key_binding(self, keydef):