bugfix
authorveltr
Wed, 09 Oct 2013 18:44:22 +0200
changeset 144 cfaa09b0a060
parent 143 dfb76c5aa3ff
child 145 21e6b17a7099
bugfix
src/jocondelab/views/front_office.py
--- 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: