diff --git a/djaif/book/book_map.py b/djaif/book/book_map.py index f52be31..681a134 100644 --- a/djaif/book/book_map.py +++ b/djaif/book/book_map.py @@ -14,7 +14,7 @@ def book_map(book): items='\n'.join( '+ {id}:"{name}"'.format( id=i.id, name=i.name[:10], - ) for i in page.items.all(), + ) for i in page.items.all() ), ), tooltip=page.body, @@ -32,7 +32,7 @@ def book_map(book): items='\n'.join( '? {id}:"{name}"'.format( id=i.id, name=i.name[:10], - ) for i in link.items.all(), + ) for i in link.items.all() ), ), labeltooltip=link.name,