From 0eb1ee8dab5d11aaefd1dfcbb274c66efadfbeeb Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 23 Jul 2017 14:44:01 +0200 Subject: Fix register_event_callback to work with methods --- mpv.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mpv.py b/mpv.py index 6cbb31d..ec5b168 100644 --- a/mpv.py +++ b/mpv.py @@ -815,7 +815,6 @@ class MPV(object): my_handler.unregister_mpv_events() """ - callback.unregister_mpv_events = partial(self.unregister_event_callback, callback) self._event_callbacks.append(callback) def unregister_event_callback(self, callback): -- cgit