提交 4355f405 编写于 作者: A Alessio Sergi

Fix issue #258

上级 6310e1ef
......@@ -3272,7 +3272,7 @@ class glancesScreen:
def displayBat(self, batpercent):
# Display the current batteries capacities % - Center
if not batinfo_lib_tag and batpercent != []:
if not batinfo_lib_tag or batpercent == []:
return 0
screen_x = self.screen.getmaxyx()[1]
screen_y = self.screen.getmaxyx()[0]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册