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