Commit 8c90b018 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

test: recent 'file' returns application/vnd.ms-office as mime-type for Excel files.

also re-export *.doc and *.xls files using recent Libre Office.
parent 2fac7439
......@@ -1874,7 +1874,7 @@ return result
as a application/octet-stream without explicit extension, become
a Spreadsheet ?
"""
path = makeFilePath('import_region_category.xls')
path = makeFilePath('import_region_category.ods')
data = open(path, 'r').read()
document = self.portal.portal_contributions.newContent(filename='toto',
......
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