first working version since long time

This commit is contained in:
crunk 2024-11-17 20:09:48 +01:00
parent 48f1889ee9
commit eec6016737

View File

@ -102,7 +102,6 @@ def check_distribusi_index(args, index):
def write_index(args, index, html): def write_index(args, index, html):
with open(index, "w") as index_file: with open(index, "w") as index_file:
if not args.no_template:
if args.style: if args.style:
file_style = open(args.style, "r") file_style = open(args.style, "r")
style = file_style.read() style = file_style.read()
@ -114,7 +113,6 @@ def write_index(args, index, html):
for line in html: for line in html:
index_file.write(line + "\n") index_file.write(line + "\n")
if not args.no_template:
index_file.write(html_footer) index_file.write(html_footer)