parent
6f9abf616d
commit
e4604a8317
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class Module(bumblebee.engine.Module):
|
||||||
def hidden(self):
|
def hidden(self):
|
||||||
hide = bumblebee.util.asbool(self.parameter("hide", False))
|
hide = bumblebee.util.asbool(self.parameter("hide", False))
|
||||||
|
|
||||||
if hide and self._utilization == "not found: 0°C 0/0 MiB":
|
if hide and "not found" in self._utilization.startswith("not found"):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue