increased timing a bit

This commit is contained in:
Justin 2023-08-23 01:19:05 +08:00 committed by GitHub
parent 6458e7c4ce
commit 18baea2a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ else:
x_offset = 102
while True:
if 0 <= counter <= 4:
if 0 <= counter <= 5:
canvas.Clear()
#NEW YORK
ny_time = getTimes(ny_timezone)
@ -160,7 +160,7 @@ while True:
counter += 1
# print("NY:", ny_time, "LONDON:", london_time, 'TOKYO:', tokyo_time)
elif 5 <= counter <= 9:
elif 6 <= counter <= 11:
canvas.Clear()
#SYDNEY
au_time = getTimes(au_timezone)
@ -191,7 +191,7 @@ while True:
counter += 1
# print('DUBAI:', dubai_time, 'AU:', au_time, "LA:", la_time)
elif 10 <= counter <= 14:
elif 12 <= counter <= 17:
canvas.Clear()
#SHANGHAI
cn_time = getTimes(cn_timezone)
@ -221,7 +221,7 @@ while True:
counter += 1
# print("CN:", cn_time,"PARIS:", paris_time,"MUMBAI:", in_time)
if counter == 15:
if counter == 18:
counter = 0
time.sleep(1)