Sync
This commit is contained in:
parent
244c4ced38
commit
19ba8a0a2b
1 changed files with 5 additions and 5 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue