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():
|
#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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue