Skip to content

Commit 7e5731a

Browse files
authoredOct 14, 2022
format document
1 parent 5fdaba0 commit 7e5731a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎Battery_notifier.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
# battery percent will return the current battery prcentage
88
percent = battery.percent
9-
charging = battery.power_plugged
9+
charging = (
10+
battery.power_plugged
11+
)
1012

1113
# Notification(title, description, duration)--to send
1214
# notification to desktop

0 commit comments

Comments
 (0)
Please sign in to comment.