summaryrefslogtreecommitdiff
path: root/mpv.py
diff options
context:
space:
mode:
authorElias Müller <elias.mr1@gmail.com>2022-07-10 15:13:45 +0200
committerjaseg <136313+jaseg@users.noreply.github.com>2022-07-11 12:37:36 +0200
commit91422de05a0e408f175433cc8ee8a29d46936be0 (patch)
treeb7caa025eac359a1e32644e5993e78df89fc8616 /mpv.py
parent20ec2a74b8c407e1fcaabb1554a4acd83bb57bb9 (diff)
downloadpython-mpv-91422de05a0e408f175433cc8ee8a29d46936be0.tar.gz
python-mpv-91422de05a0e408f175433cc8ee8a29d46936be0.tar.bz2
python-mpv-91422de05a0e408f175433cc8ee8a29d46936be0.zip
Fix show_text level default parameter
Diffstat (limited to 'mpv.py')
-rw-r--r--mpv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpv.py b/mpv.py
index 1f4f1e8..d450a4a 100644
--- a/mpv.py
+++ b/mpv.py
@@ -1390,7 +1390,7 @@ class MPV(object):
"""Mapped mpv print-text command, see man mpv(1)."""
self.command('print-text', text)
- def show_text(self, string, duration='-1', level=None):
+ def show_text(self, string, duration='-1', level=0):
"""Mapped mpv show_text command, see man mpv(1)."""
self.command('show_text', string, duration, level)