7

Import sorting and other code cleaning

This commit is contained in:
Jasper Berghoef
2016-11-09 14:10:52 +01:00
parent 7e8e395448
commit b6c35e214a
5 changed files with 30 additions and 22 deletions

View File

@ -46,4 +46,3 @@ class SegmentMiddleware(object):
def add_segment_to_user(self, segment, request):
if segment not in request.session['segments']:
request.session['segments'].append(segment.encoded_name())