From 920138cf6c124a9aabcbd3d142b5bfe5a5902ef7 Mon Sep 17 00:00:00 2001 From: Nemo Date: Tue, 24 May 2022 19:27:13 +0530 Subject: [PATCH] fix haproxy date --- src/haproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haproxy.py b/src/haproxy.py index 13293da6..a6f613ca 100644 --- a/src/haproxy.py +++ b/src/haproxy.py @@ -16,7 +16,7 @@ for i in range(17, 27): if m: year,month,date,version = m.groups() abs_date = "%s-%s-%s" % (year, month, date) - list[abs_date] = version + list[version] = abs_date with open('releases/haproxy.json', 'w') as f: f.write(json.dumps(list, indent=2))