diff --git a/anki/mpv.py b/anki/mpv.py index 75460cc48..61580224a 100644 --- a/anki/mpv.py +++ b/anki/mpv.py @@ -349,8 +349,8 @@ class MPVBase: """Send a command to the mpv process and collect the result. """ self.ensure_running() - self._send_message(message, timeout) try: + self._send_message(message, timeout) return self._get_response(timeout) except MPVCommandError as e: raise MPVCommandError("%r: %s" % (message["command"], e))