mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 14:45:36 +01:00
Fix caption length
This commit is contained in:
@@ -18,7 +18,7 @@ def get_author_string(author: BookAuthor) -> str:
|
|||||||
|
|
||||||
def get_caption(book: Book) -> str:
|
def get_caption(book: Book) -> str:
|
||||||
caption_title = f"📖 {book.title}"
|
caption_title = f"📖 {book.title}"
|
||||||
caption_title_length = len(caption_title)
|
caption_title_length = len(caption_title) + 2
|
||||||
|
|
||||||
caption_authors_parts = []
|
caption_authors_parts = []
|
||||||
authors_caption_length = 0
|
authors_caption_length = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user