We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03859ea commit 6432e7dCopy full SHA for 6432e7d
1 file changed
PyPortal_Halloween_Countdown/code.py
@@ -3,6 +3,8 @@
3
then draw out a countdown clock until an event occurs!
4
Once the event is happening, a new graphic is shown
5
"""
6
+
7
+#pylint:disable=invalid-name
8
import time
9
import random
10
import board
@@ -90,8 +92,8 @@
90
92
91
93
timestamp = time.localtime()
94
now = time.struct_time((timestamp[0], timestamp[1], timestamp[2],
- 0, 0, 0, # we don't track seconds
- -1, -1, False)) # we dont know day of week/year or DST
95
+ 0, 0, 0, # we don't track seconds
96
+ -1, -1, False)) # we dont know day of week/year or DST
97
98
print("Current time:", now)
99
remaining = time.mktime(event_time) - time.mktime(now)
0 commit comments