Skip to content

Commit

Permalink
Merge pull request #54 from nikolas/patch-2
Browse files Browse the repository at this point in the history
document correct exception thrown by flask _check_role() - good catch.
  • Loading branch information
pwilkins committed Aug 28, 2015
2 parents dd6e5d1 + c0fc6d7 commit 3266843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylti/flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def _check_role(self):
"""
Check that user is in role specified as wrapper attribute
:exception: LTIException if user is not in roles
:exception: LTIRoleException if user is not in roles
"""
role = u'any'
if 'role' in self.lti_kwargs:
Expand Down

0 comments on commit 3266843

Please sign in to comment.