Thema extension proposal.
[redakcja.git] / src / documents / ebook_utils.py
index 9253d59..c5a758f 100644 (file)
@@ -14,6 +14,7 @@ class RedakcjaDocProvider(DocProvider):
         self.publishable = publishable
 
     def by_slug(self, slug):
         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'))
         return BytesIO(Book.objects.get(catalogue_book_id=slug
                     ).materialize(publishable=self.publishable
                     ).encode('utf-8'))