Open
Description
When I try to open a .odt file, I get:
>>> textproc = ezodf.opendoc("foo.fodt")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/ezodf/document.py", line 54, in opendoc
mime_type = __detect_mime_type(fm)
File "/usr/local/lib/python2.7/dist-packages/ezodf/document.py", line 69, in __detect_mime_type
mime_type = MIMETYPES[ext]
KeyError: '.fodt'
Same for .ods files
Metadata
Assignees
Labels
No labels