Update letsencrypt, plus typos in template files
This commit is contained in:
13
sm2gen.py
13
sm2gen.py
@@ -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
|
Reference in New Issue
Block a user