re re duh

This commit is contained in:
Guy Godfroy 2020-12-08 16:52:48 +01:00
parent 578a8408a4
commit dd70f0ebeb
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ for page_dict in config.custom_pages:
rel_path, filename = os.path.split(page_dict["name"]) rel_path, filename = os.path.split(page_dict["name"])
if rel_path: if rel_path:
os.makedirs(rel_path, exist_ok=True) os.makedirs(rel_path, exist_ok=True)
basename, extension = os.path.spolitext(page_dict["name"]) basename, extension = os.path.splitext(page_dict["name"])
if not extension: if not extension:
extention = gmi_extension extention = gmi_extension
filename = basename + extension filename = basename + extension