app: Update emoji in sidebar.

This commit is contained in:
Vishnu KS
2020-08-23 23:37:13 +05:30
parent 5bb6865ba6
commit 76f2f431c1
2 changed files with 29 additions and 15 deletions

View File

@@ -23,7 +23,7 @@ def get_details(book_object):
book_object["rating"] = book.find("average_rating").text
book_object["pages"] = book.find("num_pages").text
book_object["image_url"] = book.find("image_url").text
if (description := book.find("description").text):
if (description := book.find("description").text) :
book_object["description"] = BeautifulSoup(description).text
book_object["isbn"] = book.find("isbn").text
return True