Skip to content

Commit 5f1d614

Browse files
committed
fix(battery_history): fix battery history not update
1 parent 3b928d9 commit 5f1d614

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ def update_traffic_statistics():
9898
w.update_traffic_statistics()
9999

100100
def update_battery_history():
101-
if w.isVisible():
102-
w.update_battery_history()
101+
w.update_battery_history()
103102

104103
async def main():
105104
while True:

0 commit comments

Comments
 (0)