summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-08-16 16:44:27 +0200
committerjaseg <git@jaseg.de>2022-08-16 16:44:27 +0200
commit2330fcd416f0dcfa84a548163c6d83a557d0826f (patch)
treee90c05061ef42045e527a080c8e692ad30607bab
parent85aaed090f05198ce84f2c8c653ebe44c4288f8d (diff)
downloadpython-mpv-2330fcd416f0dcfa84a548163c6d83a557d0826f.tar.gz
python-mpv-2330fcd416f0dcfa84a548163c6d83a557d0826f.tar.bz2
python-mpv-2330fcd416f0dcfa84a548163c6d83a557d0826f.zip
Fix typo in repr format string
fixes #231
-rw-r--r--mpv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpv.py b/mpv.py
index d450a4a..f1e4fa3 100644
--- a/mpv.py
+++ b/mpv.py
@@ -292,7 +292,7 @@ class MpvEventID(c_int):
FILE_LOADED, CLIENT_MESSAGE, VIDEO_RECONFIG, AUDIO_RECONFIG, SEEK, PLAYBACK_RESTART, PROPERTY_CHANGE)
def __repr__(self):
- return f'<MpvEventID {self.value} (_mpv_event_name(self.value).decode("utf-8"))>'
+ return f'<MpvEventID {self.value} {_mpv_event_name(self.value).decode("utf-8")}>'
@classmethod
def from_str(kls, s):