Skip to content

Commit

Permalink
fix trailing commas (breaks Py3.7)
Browse files Browse the repository at this point in the history
  • Loading branch information
astynax committed Jun 25, 2021
1 parent 94666b7 commit 0cecf9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions djaif/book/book_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 0cecf9d

Please sign in to comment.