From 73c47ad9e1bca4988301ce294d7d6fe4279ca92c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20L=C3=B3pez-Doriga?= Date: Thu, 30 May 2024 11:03:47 +0200 Subject: [PATCH] getting exact api version --- beacon/api_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon/api_version.py b/beacon/api_version.py index f1a98e2a..692c6a1d 100644 --- a/beacon/api_version.py +++ b/beacon/api_version.py @@ -14,7 +14,7 @@ ], encoding="utf-8", ).splitlines() -last_line_ref = output_lines[-1].rpartition("/")[-1] +last_line_ref = output_lines[-2].rpartition("/")[-1] with open("beacon/api_version.yml") as api_version_file: api_version = yaml.safe_load(api_version_file)