Built more edge cases into preview_html() function to resolve logging error:
name 'url' is not defined Traceback (most recent call last): File "/var/www/utils/reports.py", line 633, in preview_html context[i] = eval(i) # nosec File "<string>", line 1, in <module> NameError: name 'url' is not defined
๐ญ Motivation and context
Avoid errors when compiling the cycle report.
๐งช Testing
Tested Locally
โ Pre-approval checklist
[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All relevant type-of-change labels have been added.
๐ฃ Description
Built more edge cases into preview_html() function to resolve logging error:
name 'url' is not defined Traceback (most recent call last): File "/var/www/utils/reports.py", line 633, in preview_html context[i] = eval(i) # nosec File "<string>", line 1, in <module> NameError: name 'url' is not defined
๐ญ Motivation and context
Avoid errors when compiling the cycle report.
๐งช Testing
Tested Locally
โ Pre-approval checklist