Skip to content

Commit

Permalink
Minor codestyle issue in the adapters.refresh() code
Browse files Browse the repository at this point in the history
  • Loading branch information
mvantellingen committed May 31, 2017
1 parent 03073eb commit 7bb523d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/wagtail_personalisation/adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ def refresh(self):
if result:
additional_segments.append(segment)

new_segments = current_segments + additional_segments
self.set_segments(new_segments)
self.set_segments(current_segments + additional_segments)
self.update_visit_count()


Expand Down

0 comments on commit 7bb523d

Please sign in to comment.