From 9f6b6518cef2d5bd43c7cdb8082fb0504d81537c Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sat, 15 Jan 2022 00:25:06 +0100 Subject: [PATCH] Fix wrong key variables --- obs/update_unstable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obs/update_unstable.py b/obs/update_unstable.py index c7fddc1..0358a69 100755 --- a/obs/update_unstable.py +++ b/obs/update_unstable.py @@ -179,8 +179,8 @@ def notify_matrix(stats: Dict[str, Dict[str, int]]) -> None: structure = [MESSAGE_TEMPLATE] for key, value in stats.items(): - row = (f"* {key}: {stats['updated']} updated packages," - f" {stats['errors']} errors") + row = (f"* {key}: {value['updated']} updated packages," + f" {value['errors']} errors") structure.append(row) message = "\n".join(structure)