mirror of
https://github.com/powerline/powerline.git
synced 2025-07-29 16:55:07 +02:00
flake8
This commit is contained in:
parent
71f56ff102
commit
ff2b37a633
@ -72,7 +72,7 @@ def _fetch_battery_info(pl):
|
|||||||
devtype_name,
|
devtype_name,
|
||||||
'State'
|
'State'
|
||||||
) != 2
|
) != 2
|
||||||
return (energy * 100.0/ energy_full), state
|
return (energy * 100.0 / energy_full), state
|
||||||
return _flatten_battery
|
return _flatten_battery
|
||||||
pl.debug('Not using DBUS+UPower as no batteries were found')
|
pl.debug('Not using DBUS+UPower as no batteries were found')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user