You will find only what you bring in.
[redakcja.git] / src / cover / views.py
index a99c8d5..8a6c93a 100644 (file)
@@ -35,7 +35,7 @@ def preview(request, book, chunk=None, rev=None):
     else:
         revision = chunk.publishable()
         if revision is None:
-            raise Http404
+            revision = chunk.head
     xml = revision.materialize().encode('utf-8')
 
     try: