Updating string format synatx part 2
This commit is contained in:
parent
be86fbcf4d
commit
acfb1bb376
36 changed files with 96 additions and 110 deletions
|
@ -127,6 +127,7 @@ def handle_imported_book(source, user, item, include_reviews, privacy):
|
|||
# but "now" is a bad guess
|
||||
published_date_guess = item.date_read or item.date_added
|
||||
if item.review:
|
||||
# pylint: disable=consider-using-f-string
|
||||
review_title = (
|
||||
"Review of {!r} on {!r}".format(
|
||||
item.book.title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue