--- a/src/jocondelab/views/front_office.py Wed Oct 09 18:43:09 2013 +0200
+++ b/src/jocondelab/views/front_office.py Wed Oct 09 18:44:22 2013 +0200
@@ -190,7 +190,7 @@
context['wikipedia_urls'] = json.dumps(settings.WIKIPEDIA_URLS)
context['JOCONDE_NOTICE_BASE_URL'] = settings.JOCONDE_NOTICE_BASE_URL
- notice_history = self.request.session.get('notice_history',None)
+ notice_history = self.request.session.get('notice_history',[])
if self.object.id in notice_history:
p = notice_history.index(self.object.id)
if p < len(notice_history) - 1: