From 21060a10a01cd6f1d0721090f8b0a53c60265bbc Mon Sep 17 00:00:00 2001 From: Ludwig Behm Date: Wed, 17 Apr 2024 22:46:18 +0200 Subject: [PATCH] bluetooth2: only show connection count in cases of excessive numbers of connections --- bumblebee_status/modules/contrib/bluetooth2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee_status/modules/contrib/bluetooth2.py b/bumblebee_status/modules/contrib/bluetooth2.py index 76f1da5..deb2e0c 100644 --- a/bumblebee_status/modules/contrib/bluetooth2.py +++ b/bumblebee_status/modules/contrib/bluetooth2.py @@ -35,7 +35,7 @@ class Module(core.module.Module): def status(self, widget): """Get status.""" - return self._status + return self._status if self._status.isdigit() and int(self._status) > 1 else "" def update(self): """Update current state."""