1
0
Fork 0

Fix wrong key variables

This commit is contained in:
Luca Beltrame 2022-01-15 00:25:06 +01:00
parent 86fe82e6cd
commit 9f6b6518ce
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -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)