|
|
@ -52,12 +52,12 @@ for folder in folders:
|
|
|
|
print("html has been generated!")
|
|
|
|
print("html has been generated!")
|
|
|
|
|
|
|
|
|
|
|
|
all_html.append(html_data)
|
|
|
|
all_html.append(html_data)
|
|
|
|
# elif file.endswith((".jpg",".png",".jpeg",".jfif",".bmp")):
|
|
|
|
elif file.endswith((".jpg",".png",".jpeg",".jfif",".bmp")):
|
|
|
|
# print("image found yay",file)
|
|
|
|
print("image found yay",file)
|
|
|
|
# output_file=file.replace(folder,"./00-booklet")
|
|
|
|
output_file=file.replace(folder,"./00-booklet")
|
|
|
|
# copy_command=f"cp {file} {output_file}"
|
|
|
|
copy_command=f"cp {file} {output_file}"
|
|
|
|
# os.system(copy_command)
|
|
|
|
os.system(copy_command)
|
|
|
|
# print("copied to booklet!",copy_command)
|
|
|
|
print("copied to booklet!",copy_command)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#html to template environment
|
|
|
|
#html to template environment
|
|
|
|