fix bug in pipewire module
This commit is contained in:
parent
30362cb124
commit
be332005fa
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue