parent
166437649c
commit
5f96b603a8
1 changed files with 3 additions and 2 deletions
|
@ -105,6 +105,7 @@ class Module(bumblebee.engine.Module):
|
|||
state.append("AC")
|
||||
else:
|
||||
charge = ""
|
||||
try:
|
||||
with open("{}/status".format(widget.name)) as f:
|
||||
charge = f.read().strip()
|
||||
except IOError:
|
||||
|
|
Loading…
Reference in a new issue