fixed parent url

This commit is contained in:
2024-06-28 21:42:21 +02:00
parent 4977492424
commit 7fd39abcce

View File

@@ -108,7 +108,7 @@ def listfolder(folder: str, title: str):
if foldername == "": if foldername == "":
parent = None parent = None
else: else:
parent = f"{args.webroot}{urllib.parse.quote(foldername.removesuffix(folder.split('/')[-1]))}" parent = f"{args.webroot}{urllib.parse.quote(foldername.removesuffix(folder.split('/')[-1] + "/"))}"
if args.license: if args.license:
_license = { _license = {
"project": args.title, "project": args.title,