From 44a50c0b367f7ffa8984aaa5d29e3c1af3f119c7 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Sat, 19 Jan 2019 07:47:21 +0100 Subject: [PATCH] [modules/pulseaudio] Fix failing test case (wrong types) --- bumblebee/modules/pulseaudio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/modules/pulseaudio.py b/bumblebee/modules/pulseaudio.py index d66abd0..6d1cf7c 100644 --- a/bumblebee/modules/pulseaudio.py +++ b/bumblebee/modules/pulseaudio.py @@ -42,7 +42,7 @@ class Module(bumblebee.engine.Module): self._change = 2 self._limit = 0 - self._limit = int(self.parameter("limit", 0).strip("%s")) + self._limit = int(self.parameter("limit", "0%").strip("%s")) if self._limit < 0: self._limit = 0