diff --git a/aggreg.py b/aggreg.py index 1630a1d5d4ebf2f60dc4ce1293a6aff43d9f9a61..6fbe0307d3ae5bc6d32c01070b64ee8da6d85a24 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)