X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/21cd47e315b2e86edeff93bac5d1eca5b5d2c428..f769689fb6c21d76aa70f4113ba918e45b528576:/src/documents/ebook_utils.py diff --git a/src/documents/ebook_utils.py b/src/documents/ebook_utils.py index 9253d59f..c5a758f1 100644 --- a/src/documents/ebook_utils.py +++ b/src/documents/ebook_utils.py @@ -14,6 +14,7 @@ class RedakcjaDocProvider(DocProvider): self.publishable = publishable def by_slug(self, slug): + print(slug) return BytesIO(Book.objects.get(catalogue_book_id=slug ).materialize(publishable=self.publishable ).encode('utf-8'))