fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow running without CAS.
[redakcja.git]
/
src
/
cover
/
views.py
diff --git
a/src/cover/views.py
b/src/cover/views.py
index
a99c8d5
..
8a6c93a
100644
(file)
--- a/
src/cover/views.py
+++ b/
src/cover/views.py
@@
-35,7
+35,7
@@
def preview(request, book, chunk=None, rev=None):
else:
revision = chunk.publishable()
if revision is None:
- r
aise Http404
+ r
evision = chunk.head
xml = revision.materialize().encode('utf-8')
try: