fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
command to insert isbn metadata
[redakcja.git]
/
apps
/
fileupload
/
views.py
diff --git
a/apps/fileupload/views.py
b/apps/fileupload/views.py
index
25112e6
..
a2025fe
100644
(file)
--- a/
apps/fileupload/views.py
+++ b/
apps/fileupload/views.py
@@
-20,7
+20,7
@@
else:
def thumbnail(relpath):
try:
return default.backend.get_thumbnail(relpath, "x50").url
- except
IOError
:
+ except
(IOError, ValueError)
:
# That's not an image. No thumb.
return None