Merge branch 'fix/bluetooth'
This commit is contained in:
commit
617a12f96d
2 changed files with 5 additions and 5 deletions
|
@ -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."""
|
||||
|
|
|
@ -254,12 +254,12 @@
|
|||
"bluetooth": {
|
||||
"ON": { "prefix": "" },
|
||||
"OFF": { "prefix": "" },
|
||||
"?": { "prefix": "" }
|
||||
"?": { "prefix": "" }
|
||||
},
|
||||
"bluetooth2": {
|
||||
"ON": { "prefix": "" },
|
||||
"warning": { "prefix": "" },
|
||||
"critical": { "prefix": "" }
|
||||
"ON": { "prefix": "" },
|
||||
"warning": { "prefix": "" },
|
||||
"critical": { "prefix": "" }
|
||||
},
|
||||
"battery-upower": {
|
||||
"charged": {
|
||||
|
|
Loading…
Reference in a new issue