Skip to content

Commit b9ed630

Browse files
Merge pull request #1510 from bettse/patch-1
Correct 30 minute calculation in MOON PHASE CLOCK
2 parents 6faa61e + 98d406f commit b9ed630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Matrix_Portal_Moon_Clock/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def __init__(self, datetime, hours_ahead, utc_offset):
290290
# respond. That's OK, keep running with our current time, and
291291
# push sync time ahead to retry in 30 minutes (don't overwhelm
292292
# the server with repeated queries).
293-
LAST_SYNC += 30 * 60 * 60 # 30 minutes -> seconds
293+
LAST_SYNC += 30 * 60 # 30 minutes -> seconds
294294

295295
# If PERIOD has expired, move data down and fetch new +24-hour data
296296
if NOW >= PERIOD[1].midnight:

0 commit comments

Comments
 (0)