Merge pull request #558 from somospocos/pasink-bug

[modules/pulseaudio] fix bug #557
This commit is contained in:
tobi-wan-kenobi 2020-02-20 20:45:58 +01:00 committed by GitHub
commit 7c210eeac7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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):