Permalink
Browse files

fixing an IO Error

  • Loading branch information...
1 parent b237402 commit b019d4088cb3ba5a2d953ef5db36cadb99a8d801 James Cleveland committed Jul 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 suave/models.py
View
@@ -320,7 +320,7 @@ def admin_thumbnail(self):
get_thumbnail(self.image, '160x90', crop='center',
quality=100).url
))
- except ThumbnailError:
+ except (IOError, ThumbnailError):
return ''
def __str__(self):

0 comments on commit b019d40

Please sign in to comment.