X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/16e6aeef587784cb0c4ff42277657fd34eee7ba6..2245baeed5c7fb97da2aeb5441aadf26c280fee9:/src/depot/publishers/legimi.py diff --git a/src/depot/publishers/legimi.py b/src/depot/publishers/legimi.py index dbfd71ea..2b535f92 100644 --- a/src/depot/publishers/legimi.py +++ b/src/depot/publishers/legimi.py @@ -356,7 +356,7 @@ class Legimi(BasePublisher): def edit_sale(self, book): assert book.legimi_id - words = book.wldocument().get_statistics()['total']['words_with_fn'] + words = book.wldocument(librarian2=True).get_statistics()['total']['words_with_fn'] price = settings.LEGIMI_SMALL_PRICE if words > settings.LEGIMI_SMALL_WORDS: