From 1f03f66e505d268f31e6d480be9d5c36ad39243b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Sat, 1 Aug 2026 20:29:45 +0400 Subject: [PATCH] =?UTF-8?q?v0.5.3:=20fix=20=E2=80=94=20=D1=82=D0=B0=D0=B1?= =?UTF-8?q?=D0=BB=D0=B8=D1=86=D0=B0=20=D1=81=D0=B5=D1=80=D0=B2=D0=B8=D1=81?= =?UTF-8?q?=D0=BE=D0=B2=20=D1=82=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D1=8F=D0=B5=D1=82=D1=81=D1=8F=20=D0=BF=D1=80=D0=B8?= =?UTF-8?q?=20=D1=81=D0=BC=D0=B5=D0=BD=D0=B5=20=D1=81=D1=82=D0=B5=D0=BD?= =?UTF-8?q?=D0=B4=D0=B0=20(LocalProxy)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/config/loader.py | 2 +- site/routes/root.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/site/config/loader.py b/site/config/loader.py index 94ae7e6..89096c2 100644 --- a/site/config/loader.py +++ b/site/config/loader.py @@ -80,7 +80,7 @@ SERVICES = _DF["SERVICES"] OPS_INDEX = _DF["OPS_INDEX"] DELAY = float(os.getenv("MOCK_OP_DELAY", "0.1")) -VERSION = "0.5.2" +VERSION = "0.5.3" def get_services(stand_id): diff --git a/site/routes/root.py b/site/routes/root.py index caaa03b..f265e9d 100644 --- a/site/routes/root.py +++ b/site/routes/root.py @@ -46,7 +46,7 @@ def index(): текущую задержку операций, список сервисов с операциями. Использует Jinja2-шаблон templates/index.html и внешний CSS из static/style.css. """ - svc_count = len(_cfg.SERVICES) + svc_count = len(SERVICES) inst_count = len(state.instances) # Список стендов @@ -61,7 +61,7 @@ def index(): # Список сервисов для таблицы: name, id, кол-во операций svc_list = [] - for sid, svc in sorted(_cfg.SERVICES.items(), key=lambda x: x[1].get("name", x[0])): + for sid, svc in sorted(SERVICES.items(), key=lambda x: x[1].get("name", x[0])): svc_list.append({ "id": sid, "name": svc.get("name", sid),