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():
# time.sleep(1)
if timeInNightRange():
printDark()
now = datetime.now()
timeUntilMorning = 6 - now.hour - (3600 - 60*now.minute - now.second)
time.sleep(timeUntilMorning)
# if timeInNightRange():
# printDark()
# now = datetime.now()
# timeUntilMorning = 6 - now.hour - (3600 - 60*now.minute - now.second)
# time.sleep(timeUntilMorning)
printClock()