Skip to content
Snippets Groups Projects
Commit 3eb73a3f authored by VALLET Nathan's avatar VALLET Nathan
Browse files

fix "ValueError: incomplete format" error (cause : missing s because I

didn't know it was needed)
parent e37a6e0a
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment