From 6335e73a1548745a896cd88825820994ff957a04 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 4 May 2024 14:13:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AC=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ica-rs/plugins/bmcl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ica-rs/plugins/bmcl.py b/ica-rs/plugins/bmcl.py index 2665988..bb7eee1 100644 --- a/ica-rs/plugins/bmcl.py +++ b/ica-rs/plugins/bmcl.py @@ -90,6 +90,7 @@ def bmcl_dashboard(msg: IcaNewMessage, client: IcaClient) -> None: dashboard_status = wrap_request("https://bd.bangbang93.com/openbmclapi/metric/version", msg, client) if data is None or dashboard_status is None: return + global backend_version backend_version = dashboard_status["version"] backend_commit = dashboard_status["_resolved"].split("#")[1][:7] data_bytes: float = data["bytes"]