This commit is contained in:
Maximilian Giller 2023-10-11 01:15:01 +02:00
parent 244c4ced38
commit 19ba8a0a2b

View file

@ -116,11 +116,11 @@ while True:
#while getMsgInc(): #while getMsgInc():
# time.sleep(1) # time.sleep(1)
if timeInNightRange(): # if timeInNightRange():
printDark() # printDark()
now = datetime.now() # now = datetime.now()
timeUntilMorning = 6 - now.hour - (3600 - 60*now.minute - now.second) # timeUntilMorning = 6 - now.hour - (3600 - 60*now.minute - now.second)
time.sleep(timeUntilMorning) # time.sleep(timeUntilMorning)
printClock() printClock()