Skip to content

Commit

Permalink
adapters docstring typo (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdyson authored and robmoorman committed May 31, 2017
1 parent dcb8867 commit fb95439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wagtail_personalisation/adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def check_if_segmented(item):
self.request.session['segments'].append(segdict)

def add_page_visit(self, page):
"""Mar kthe page as visited by the user"""
"""Mark the page as visited by the user"""
visit_count = self.request.session.setdefault('visit_count', [])
page_visits = [visit for visit in visit_count if visit['id'] == page.pk]

Expand Down

0 comments on commit fb95439

Please sign in to comment.