fix bug in pipewire module

This commit is contained in:
James Baumgarten 2023-02-10 08:52:53 -07:00
parent 30362cb124
commit be332005fa

View file

@ -68,6 +68,8 @@ class Module(core.module.Module):
) )
def volume(self, widget): def volume(self, widget):
if self.__level == "N/A":
return self.__level
return "{}%".format(int(float(self.__level) * 100)) return "{}%".format(int(float(self.__level) * 100))
def update(self): def update(self):