[modules/pulseaudio] Fix failing test case (wrong types)

This commit is contained in:
Tobias Witek 2019-01-19 07:47:21 +01:00
parent 3d9e170da3
commit 44a50c0b36

View file

@ -42,7 +42,7 @@ class Module(bumblebee.engine.Module):
self._change = 2 self._change = 2
self._limit = 0 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: if self._limit < 0:
self._limit = 0 self._limit = 0