Skip to content

Commit

Permalink
ignore security warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Oct 10, 2023
1 parent dc78687 commit 92922b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weaver/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def resolve_email_template(job, settings):
if not os.path.isdir(template_dir):
LOGGER.warning("No default email template directory configured. Using default template.")
template_file = os.path.join(WEAVER_MODULE_DIR, "wps_restapi/templates/notification_email_example.mako")
template = Template(filename=template_file)
template = Template(filename=template_file) # nosec: B702
else:
default_setting = "weaver.wps_email_notify_template_default"
default_default = "default.mako"
Expand Down

0 comments on commit 92922b1

Please sign in to comment.