diff options
author | jaseg <code@jaseg.net> | 2016-08-04 17:06:34 +0200 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2016-08-04 17:06:34 +0200 |
commit | 47919b0ca805fc2889ef67de6a19dcaae6c6927f (patch) | |
tree | cddbf643dd38596b226c51a4435d9d7726e36710 | |
parent | 0c5530aa271cb2701205264dab4e8394ed76e185 (diff) | |
download | python-mpv-47919b0ca805fc2889ef67de6a19dcaae6c6927f.tar.gz python-mpv-47919b0ca805fc2889ef67de6a19dcaae6c6927f.tar.bz2 python-mpv-47919b0ca805fc2889ef67de6a19dcaae6c6927f.zip |
Fix event callback foo
-rw-r--r-- | mpv.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -302,7 +302,7 @@ def _event_loop(event_handle, playback_cond, event_callbacks, property_handlers, ev = devent['event'] log_handler('{}: {}: {}'.format(ev['level'], ev['prefix'], ev['text'])) for callback in event_callbacks: - callback.call(devent) + callback(devent) if eid == MpvEventID.SHUTDOWN: _mpv_detach_destroy(event_handle) return |