diff --git a/bumblebee_status/modules/contrib/pipewire.py b/bumblebee_status/modules/contrib/pipewire.py index d5f46ea..4c0f23a 100644 --- a/bumblebee_status/modules/contrib/pipewire.py +++ b/bumblebee_status/modules/contrib/pipewire.py @@ -68,6 +68,8 @@ class Module(core.module.Module): ) def volume(self, widget): + if self.__level == "N/A": + return self.__level return "{}%".format(int(float(self.__level) * 100)) def update(self):