From 47919b0ca805fc2889ef67de6a19dcaae6c6927f Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 4 Aug 2016 17:06:34 +0200 Subject: Fix event callback foo --- mpv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpv.py b/mpv.py index 9c6ee5f..ba095ea 100644 --- a/mpv.py +++ b/mpv.py @@ -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 -- cgit