fix error volume

This commit is contained in:
Lurkars 2022-02-13 12:16:30 +01:00
parent 8df63846f6
commit 04c89778f3

View File

@ -115,7 +115,7 @@ class LunieboxDaemon(object):
def error_sound(self):
self.play_sound("/home/pi/luniebox/audio/error.wav", str(
self.luniebox.get_setting('luniebox', 'error_volume', self.volume_max)))
self.luniebox.get_setting('luniebox', 'error_volume', self.luniebox.volume_max)))
def play_sound(self, path, volume):
volume_p = subprocess.Popen(