Bookmarks blow up if no cookie

Issue #12 resolved
Alex Robbins
created an issue

This line is giving me 'NoneType' object has no attribute 'split'

It looks like unquote can't handle None, which it is getting from request.COOKIES.get('menu.bookmarks'). Maybe you could provide a default to get?

request.COOKIES.get('menu.bookmarks', '')

Then you'd need to change the next line to

if json_str != '':

Comments (1)

  1. Log in to comment