From 2144228189df2944772706b7af15abed5f28e04a Mon Sep 17 00:00:00 2001 From: VALLET Nathan <nathan.vallet@etu.univ-amu.fr> Date: Sat, 25 May 2024 17:07:54 +0200 Subject: [PATCH] change default config path --- aggreg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aggreg.py b/aggreg.py index 6fbe030..95b0ea6 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)s", 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.yml") configpath = parser.parse_args().config with open(configpath) as file: conf = yaml.safe_load(file) -- GitLab