This commit is contained in:
2023-06-07 21:24:28 +02:00
parent 55e9f7490a
commit bd0c9b5465

View File

@@ -38,7 +38,7 @@ class TaskCreator:
books.extend(book_page.items) books.extend(book_page.items)
current_page += 1 current_page += 1
pages_count = book_page.total_pages pages_count = book_page.pages
if len(books) == 0: if len(books) == 0:
return CreateTaskError(message="No books!") return CreateTaskError(message="No books!")