diff options
author | Frechdachs <Frechdachs@users.noreply.github.com> | 2016-02-19 08:33:48 +0100 |
---|---|---|
committer | Frechdachs <Frechdachs@users.noreply.github.com> | 2016-02-19 08:33:48 +0100 |
commit | 1dd8329a426aa83c274c266c4f54062784b9dbb0 (patch) | |
tree | 8173a3462f974db9dec4463de719f17e0928bd52 | |
parent | ac30a66ed493d03b5358fda3945aae0ca2b5b7c9 (diff) | |
download | python-mpv-1dd8329a426aa83c274c266c4f54062784b9dbb0.tar.gz python-mpv-1dd8329a426aa83c274c266c4f54062784b9dbb0.tar.bz2 python-mpv-1dd8329a426aa83c274c266c4f54062784b9dbb0.zip |
Fix DEFAULT_ERROR_HANDLER
-rw-r--r-- | mpv.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -50,9 +50,9 @@ class ErrorCode: -12: lambda *a: SystemError('Error running mpv command', *a) } - @classmethod + @staticmethod def DEFAULT_ERROR_HANDLER(ec, *args): - return ValueError(_mpv_error_string(ec).decode(), ec, *a) + return ValueError(_mpv_error_string(ec).decode(), ec, *args) @classmethod def raise_for_ec(kls, func, *args): |