summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2017-07-23 14:44:01 +0200
committerjaseg <code@jaseg.net>2017-07-23 14:45:00 +0200
commit0eb1ee8dab5d11aaefd1dfcbb274c66efadfbeeb (patch)
treee80b6d03c7b581a3383d1e8411c5fb4670b1c7f2
parent4972dd1e6d05b6b912e862e992bc896ee5cc5663 (diff)
downloadpython-mpv-0eb1ee8dab5d11aaefd1dfcbb274c66efadfbeeb.tar.gz
python-mpv-0eb1ee8dab5d11aaefd1dfcbb274c66efadfbeeb.tar.bz2
python-mpv-0eb1ee8dab5d11aaefd1dfcbb274c66efadfbeeb.zip
Fix register_event_callback to work with methods
-rw-r--r--mpv.py1
1 files changed, 0 insertions, 1 deletions
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):