# HG changeset patch # User chedge # Date 2013-07-04 15:54:33 # Node ID e0b54648ac80dc46931c076622e3b93859a18ef6 # Parent c0e948d4f7e49f3a98c50c74c72715b288176a5b fix issue #3 diff --git a/boards/thumbs.py b/boards/thumbs.py --- a/boards/thumbs.py +++ b/boards/thumbs.py @@ -26,10 +26,6 @@ def generate_thumb(img, thumb_size, form img.seek(0) # see http://code.djangoproject.com/ticket/8222 for details image = Image.open(img) - # Convert to RGB if necessary - if image.mode not in ('L', 'RGB'): - image = image.convert('RGB') - # get size thumb_w, thumb_h = thumb_size # If you want to generate a square thumbnail