Update letsencrypt, plus typos in template files

This commit is contained in:
2024-10-18 19:01:59 +01:00
parent d83a74100e
commit 964771d876
13 changed files with 889 additions and 39 deletions

View File

@@ -526,9 +526,9 @@ if __name__ == "__main__":
file.write(controller_perl)
print(f"{controller_file} controller generated ok")
except Exception as e:
print(f"A Chameleon controller render error occurred: {e}")
print(f"A Chameleon controller render error occurred: {e} {traceback.format_exc()}")
except Exception as e:
print(f"A Chameleon controller template error occurred: {e}")
print(f"A Chameleon controller template error occurred: {e} {traceback.format_exc()}")
# Generate Custom controller file
try:
@@ -542,9 +542,9 @@ if __name__ == "__main__":
file.write(custom_controller_perl)
print(f"{custom_controller_file} custom controller generated ok")
except Exception as e:
print(f"A Chameleon custom controller render error occurred: {e}")
print(f"A Chameleon custom controller render error occurred: {e} {traceback.format_exc()}")
except Exception as e:
print(f"A Chameleon custom controller template error occurred: {e}")
print(f"A Chameleon custom controller template error occurred: {e} {traceback.format_exc()}")
# generate Layout file
layout_template = PageTemplateFile("Templates/layout.html.ep.tem")
@@ -608,7 +608,8 @@ if __name__ == "__main__":
try:
control_html = control_template.render(
version=strVersion, **inner_html, prefix=prefix_is,
classname=class_name
classname=class_name,
type_serial=type_serial
)
all_controls_html = all_controls_html + control_html
except Exception as e:
@@ -783,4 +784,4 @@ if __name__ == "__main__":
# print(
# f"Skipping the creation of {translated_lex_file} as it exists already"
# )
quit() # end of the program
quit() # end of the program