diff options
-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 6eed2a5..ecf8777 100644 --- a/src/olpc/datastore/model.py +++ b/src/olpc/datastore/model.py @@ -252,6 +252,7 @@ class Content(object): ext = mimetypes.guess_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 |