Ticket #1319: epub_sugar_base.patch

File epub_sugar_base.patch, 506 bytes (added by sayamindu, 15 years ago)

Patch against current git HEAD

  • src/sugar/mime.py

    diff --git a/src/sugar/mime.py b/src/sugar/mime.py
    index 4a4a93b..9b79000 100644
    a b _generic_types = [ 
    4444  'types' : ['text/plain', 'text/rtf', 'application/pdf',
    4545             'application/x-pdf', 'text/html',
    4646             'application/vnd.oasis.opendocument.text',
    47              'application/rtf', 'text/rtf']
     47             'application/rtf', 'text/rtf', 'application/epub+zip']
    4848},
    4949{ 'id'    : GENERIC_TYPE_IMAGE,
    5050  'name'  : _('Image'),