From a2072023a05749f99dcb7d6d117517b0143c32ae Mon Sep 17 00:00:00 2001 From: Bryan Date: Tue, 17 Dec 2013 15:43:33 -0500 Subject: [PATCH] converting ENML mimetypes to XML mimetypes --- karmaworld/apps/notes/gdrive.py | 1 + 1 file changed, 1 insertion(+) diff --git a/karmaworld/apps/notes/gdrive.py b/karmaworld/apps/notes/gdrive.py index 7960054..8b1ddab 100644 --- a/karmaworld/apps/notes/gdrive.py +++ b/karmaworld/apps/notes/gdrive.py @@ -174,6 +174,7 @@ def convert_with_google_drive(note): (file_type, encoding) = mimetypes.guess_type(note.note_file.path) + if file_type == 'text/enml': file_type = 'text/xml' if file_type != None: media = MediaFileUpload(note.note_file.path, mimetype=file_type, -- 2.25.1