Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ecordell committed Dec 11, 2015
1 parent 2988c59 commit f6f813e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -77,7 +77,7 @@ v = Verifier()
def picture_access_validator(predicate):
# in this case, predicate = 'picture_id = bobs_cool_cat.jpg'
if predicate.split(' = ')[0] != 'picture_id':
return True
return False
return predicate.split(' = ')[1] == 'bobs_cool_cat.jpg'

# The verifier is informed of all relevant contextual information needed
Expand Down

0 comments on commit f6f813e

Please sign in to comment.