From f6d1269531de44f8f92fa0b03a92d82089f266ce Mon Sep 17 00:00:00 2001 From: sdaqo Date: Mon, 1 May 2023 15:03:10 +0200 Subject: Add 'self' to mouse function --- mpv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit