еще раз 1
This commit is contained in:
@@ -51,12 +51,15 @@ def parse(line):
|
||||
seconds = int(timer_temp[0:2])
|
||||
milliseconds = int(timer_temp[2:])
|
||||
timer_str = f"{seconds}.{milliseconds}"
|
||||
send_data("TIMER.Text", timer_str)
|
||||
if timer_bool == 1:
|
||||
quarter = temp_new[14]
|
||||
points1 = (temp_new[8:11]).strip()
|
||||
points2 = (temp_new[11:14]).strip()
|
||||
fouls1 = temp_new[15]
|
||||
fouls2 = temp_new[16]
|
||||
send_data("SCORE1.Text", points1)
|
||||
send_data("SCORE2.Text", points2)
|
||||
|
||||
attack_display = temp_new[51:53]
|
||||
if attack_display == "30":
|
||||
@@ -79,10 +82,7 @@ def parse(line):
|
||||
if timer_str == "0:00":
|
||||
timer_str = "0.0"
|
||||
|
||||
send_data("TIMER.Text", timer_str)
|
||||
send_data("24sec.Text", time_attack)
|
||||
send_data("SCORE1.Text", points1)
|
||||
send_data("SCORE2.Text", points2)
|
||||
except Exception as ex:
|
||||
print(ex)
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user