diff options
Diffstat (limited to 'src/olpc/datastore/model.py')
-rw-r--r-- | src/olpc/datastore/model.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/olpc/datastore/model.py b/src/olpc/datastore/model.py index 773fdcf..9b00e2c 100644 --- a/src/olpc/datastore/model.py +++ b/src/olpc/datastore/model.py @@ -252,6 +252,7 @@ class Content(object): ext = mime.get_primary_extension(mt) # .ksh is a strange ext for plain text if ext and ext == '.ksh': ext = '.txt' + if ext and ext == '.jpe': ext = '.jpg' # fixes #3163 if ext: return None, ext return None, None |