Skip to content

Commit

Permalink
add default value to getattr
Browse files Browse the repository at this point in the history
  • Loading branch information
AddisonDunn committed Nov 2, 2023
1 parent a1f325b commit be99636
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def update_suite(self):
if form.session_endpoint_id:
self.suite.endpoints.append(self._make_session_endpoint(
form.session_endpoint_id, module, form,
respect_relevancy=getattr(form, 'respect_relevancy')))
respect_relevancy=getattr(form, 'respect_relevancy', None)))
elif module.session_endpoint_id:
for form in module.get_suite_forms():
endpoint = next(
Expand Down

0 comments on commit be99636

Please sign in to comment.