From 255b01a272d73df54f13b562f41694377bc19344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AE=D1=80=D0=B8=D0=B9=20=D0=A7=D0=B5=D1=80=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=BA=D0=BE?= Date: Tue, 18 Nov 2025 14:44:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B5=D1=89=D0=B5=20=D1=80=D0=B0=D0=B7=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- timer_stramatel.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/timer_stramatel.py b/timer_stramatel.py index 3ce1478..9e16ede 100644 --- a/timer_stramatel.py +++ b/timer_stramatel.py @@ -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