mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 06:35:38 +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:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user