mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Yet another mime type for xpgt files
This commit is contained in:
parent
63e8f0de50
commit
456c61b8fa
@ -11,7 +11,7 @@ from PyQt4.Qt import QTextCharFormat
|
||||
from calibre.ebooks.oeb.base import OEB_DOCS, OEB_STYLES
|
||||
from calibre.ebooks.oeb.polish.container import guess_type
|
||||
|
||||
_xml_types = {'application/oebps-page-map+xml', 'application/vnd.adobe-page-template+xml'} | {
|
||||
_xml_types = {'application/oebps-page-map+xml', 'application/vnd.adobe-page-template+xml', 'application/page-template+xml'} | {
|
||||
guess_type('a.'+x) for x in ('ncx', 'opf', 'svg', 'xpgt', 'xml')}
|
||||
|
||||
def syntax_from_mime(name, mime):
|
||||
|
Loading…
x
Reference in New Issue
Block a user