Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
DylannCordel committed Jun 7, 2021
1 parent 506bc91 commit b3b8d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangosaml2/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def lookup_and_set_attribute(self, user, attr, attr_value_list) -> bool:
if callable(user_attr):
return user_attr(attr_value_list)
else:
return = set_attribute(user, attr, attr_value_list[0])
return set_attribute(user, attr, attr_value_list[0])
else:
logger.debug(f'Could not find attribute "{attr}" on user "{user}"')
return False
Expand Down

0 comments on commit b3b8d4a

Please sign in to comment.