Merge pull request #950 from jebaum/main

fix bug in pipewire module
This commit is contained in:
tobi-wan-kenobi 2023-02-11 08:22:02 +01:00 committed by GitHub
commit f77f5552ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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