From 8a2d526e943a8b13ac15760d9a013eb14e2e5d51 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 1 Dec 2011 04:31:52 -0400 Subject: [PATCH] Add RTF text file to the list of office document mimetypes --- apps/converter/office_converter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/converter/office_converter.py b/apps/converter/office_converter.py index c7c8707c36..e98b8cfdd4 100644 --- a/apps/converter/office_converter.py +++ b/apps/converter/office_converter.py @@ -19,7 +19,6 @@ CONVERTER_OFFICE_FILE_MIMETYPES = [ u'application/msexcel', u'application/vnd.ms-excel', u'application/vnd.ms-powerpoint', - u'text/plain', u'application/vnd.oasis.opendocument.presentation', u'application/vnd.oasis.opendocument.text', u'application/vnd.openxmlformats-officedocument.wordprocessingml.document', @@ -27,6 +26,8 @@ CONVERTER_OFFICE_FILE_MIMETYPES = [ u'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', u'application/vnd.oasis.opendocument.graphics', u'application/vnd.ms-office', + u'text/plain', + u'text/rtf', ]