Be nice to Black and follow styleguides.

This commit is contained in:
Fabien Basmaison 2021-06-09 18:54:05 +02:00
parent 0ecea5710b
commit c4072cbc04

View file

@ -29,7 +29,7 @@ def get_title(book, too_short=6):
if len(title) < too_short and book.subtitle:
title = _("%(title)s: %(subtitle)s") % {
"title": title,
"subtitle": book.subtitle
"subtitle": book.subtitle,
}
return title