summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsdaqo <sdaqo.dev@protonmail.com>2023-05-01 15:03:10 +0200
committerjaseg <136313+jaseg@users.noreply.github.com>2023-06-03 18:31:40 +0200
commitf6d1269531de44f8f92fa0b03a92d82089f266ce (patch)
tree8eb6cbd05c772ec3c37cc41d1b01e55a648dacfe
parent3036f64b68207d74a06efcfbc2fdac91a6a70bbc (diff)
downloadpython-mpv-f6d1269531de44f8f92fa0b03a92d82089f266ce.tar.gz
python-mpv-f6d1269531de44f8f92fa0b03a92d82089f266ce.tar.bz2
python-mpv-f6d1269531de44f8f92fa0b03a92d82089f266ce.zip
Add 'self' to mouse function
-rw-r--r--mpv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpv.py b/mpv.py
index 0de35a4..18dec07 100644
--- a/mpv.py
+++ b/mpv.py
@@ -1448,7 +1448,7 @@ class MPV(object):
"""Mapped mpv discnav command, see man mpv(1)."""
self.command('discnav', command)
- def mouse(x, y, button=None, mode='single'):
+ def mouse(self, x, y, button=None, mode='single'):
"""Mapped mpv mouse command, see man mpv(1)."""
if button is None:
self.command('mouse', x, y, mode)