From 7c558486514c536779eb121d7feca64262cecd87 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 27 Dec 2017 11:01:07 +0100 Subject: [PATCH] Forgot a couple of selfs --- platypush/plugins/video/omxplayer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/plugins/video/omxplayer.py b/platypush/plugins/video/omxplayer.py index 6812da57f6..d871725a57 100644 --- a/platypush/plugins/video/omxplayer.py +++ b/platypush/plugins/video/omxplayer.py @@ -33,12 +33,12 @@ class VideoOmxplayerPlugin(Plugin): def voldown(self): if self.player: - self.player.set_volume(max(-6000, player.set_volume()-1000)) + self.player.set_volume(max(-6000, self.player.set_volume()-1000)) return self.status() def volup(self): if self.player: - player.set_volume(min(0, player.volume()+1000)) + self.player.set_volume(min(0, self.player.volume()+1000)) return self.status() def back(self):