universe facepalm

This commit is contained in:
Guy Godfroy 2020-12-08 17:04:54 +01:00
parent a1217c872a
commit 26d35d80c6
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ for page_dict in config.custom_pages:
if rel_path:
os.makedirs(rel_path, exist_ok=True)
basename, extension = os.path.splitext(filename)
if extension = "":
if extension == "":
filename = basename + config.gmi_extension
else:
filename = basename + extension