[modules/pulseaudio] Fix failing test case (wrong types)
This commit is contained in:
parent
3d9e170da3
commit
44a50c0b36
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue