Fix caption length

This commit is contained in:
2023-01-22 22:29:08 +01:00
parent 698d47a4bc
commit 34e0d001ec

View File

@@ -18,7 +18,7 @@ def get_author_string(author: BookAuthor) -> str:
def get_caption(book: Book) -> str:
caption_title = f"📖 {book.title}"
caption_title_length = len(caption_title)
caption_title_length = len(caption_title) + 2
caption_authors_parts = []
authors_caption_length = 0