X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/21cd47e315b2e86edeff93bac5d1eca5b5d2c428..91a20d3c82e0edcd883148b14df90b56a38ba2b2:/src/documents/ebook_utils.py?ds=inline 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'))