Skip to content

Commit

Permalink
Merge pull request #15 from teners/patch-1
Browse files Browse the repository at this point in the history
Fix snippet in README.md
  • Loading branch information
orsinium committed Oct 2, 2019
2 parents 351e664 + e5fc08a commit 774f9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Post:
def like(self, user: str) -> None:
if user in self.likes:
raise PostAlreadyLiked
likes.add(user)
self.likes.add(user)

@deal.post(lambda result: 'visits' in result)
@deal.post(lambda result: 'likes' in result)
Expand Down

0 comments on commit 774f9dd

Please sign in to comment.