mariocesar/sorl-thumbnail — pull request #332 by g10f (2014-11-24 18:47:20+00:00)
Title: KeyError: u'JPG'

JPG causes a KeyError: u'JPG' in

sorl/thumbnail/base.py", line 196, in _get_thumbnail_filename
EXTENSIONS[options['format']])

because there is JPEG used instead of JPG:

base.py:
EXTENSIONS = {
'JPEG': 'jpg',
'PNG': 'png',
}