From 3eb73a3f85d1121fa6398b086a948167c7958281 Mon Sep 17 00:00:00 2001
From: VALLET Nathan <nathan.vallet@etu.univ-amu.fr>
Date: Wed, 22 May 2024 15:15:04 +0200
Subject: [PATCH] fix "ValueError: incomplete format" error (cause : missing s
 because I didn't know it was needed)

---
 aggreg.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aggreg.py b/aggreg.py
index 1630a1d..6fbe030 100644
--- a/aggreg.py
+++ b/aggreg.py
@@ -57,7 +57,7 @@ def genere_html(liste_evenements: list[dict[str, str]],
 
 def main():
     parser = ArgumentParser(description="obtain events feeds from RSS and compile them into a nice webpage")
-    parser.add_argument("-c", "--config", help="specifies a config path instead of the default config path %(default)", default="/etc/eventswrangler.conf")
+    parser.add_argument("-c", "--config", help="specifies a config path instead of the default config path %(default)s", default="/etc/eventswrangler.conf")
     configpath = parser.parse_args().config
     with open(configpath) as file:
         conf = yaml.safe_load(file)
-- 
GitLab