From 0cecf9ddce56f1e80bf09b08a3a79a10f815548d Mon Sep 17 00:00:00 2001 From: Aleksei Pirogov Date: Fri, 25 Jun 2021 17:38:21 +0300 Subject: [PATCH] fix trailing commas (breaks Py3.7) --- djaif/book/book_map.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,