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)))
return vol
else:
vol = "{}%/{}%".format(self._left, self._right)
if self._showbars:
vol = "{} {}{}".format(
vol,
bumblebee.output.hbar(float(self._left)),
bumblebee.output.hbar(float(self._right)))
vol = "{}%/{}%".format(self._left, self._right)
return vol
def update(self, widgets):