Commit 5e2b3945 authored by Tristan Cavelier's avatar Tristan Cavelier

ooo: fix backward compatibily + update test

also update test for unhandled libreoffice 5.2 formats
parent d5421ec7
......@@ -241,7 +241,7 @@ class Handler(object):
continue
if ext:
mimetype, _ = mimetypes.guess_type("a." + ext) # XXX never guess
if mimetype and mimetype != parsed_mimetype_type:
if mimetype:
output_set.add((mimetype, title))
return list(output_set)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment