pull/261/head
Alessio Sergi 2013-07-12 12:22:00 +02:00
parent 6310e1ef5f
commit 4355f4053f
1 changed files with 1 additions and 1 deletions

View File

@ -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]