fix: init type

This commit is contained in:
zetxx 2017-03-15 23:02:13 +02:00
parent 69e4780182
commit 0b961e2304

View file

@ -12,7 +12,7 @@ class Module(bumblebee.engine.Module):
super(Module, self).__init__(engine, config, super(Module, self).__init__(engine, config,
bumblebee.output.Widget(full_text=self.volume) bumblebee.output.Widget(full_text=self.volume)
) )
self._level = 0 self._level = "0"
self._muted = False self._muted = False
device = self.parameter("device", "Master,0") device = self.parameter("device", "Master,0")
self._cmdString = "amixer get {}".format(device) self._cmdString = "amixer get {}".format(device)