[modules/pulseaudio] fix bug #557

most likely a copy/paste blunder. sorry
This commit is contained in:
me 2020-02-20 00:57:07 +02:00
parent 0751b7c084
commit 04e31897d4

View file

@ -142,12 +142,12 @@ class Module(bumblebee.engine.Module):
vol, bumblebee.output.hbar(float(self._left))) vol, bumblebee.output.hbar(float(self._left)))
return vol return vol
else: else:
vol = "{}%/{}%".format(self._left, self._right)
if self._showbars: if self._showbars:
vol = "{} {}{}".format( vol = "{} {}{}".format(
vol, vol,
bumblebee.output.hbar(float(self._left)), bumblebee.output.hbar(float(self._left)),
bumblebee.output.hbar(float(self._right))) bumblebee.output.hbar(float(self._right)))
vol = "{}%/{}%".format(self._left, self._right)
return vol return vol
def update(self, widgets): def update(self, widgets):