From 6bd8331762a302941862e75ac80d1e6317ac82ac Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Thu, 05 Jul 2007 09:47:48 +0000 Subject: Set mime_type when saving to the datastore. --- (limited to 'AbiWordActivity.py') diff --git a/AbiWordActivity.py b/AbiWordActivity.py index c8f994a..d207f12 100644 --- a/AbiWordActivity.py +++ b/AbiWordActivity.py @@ -281,6 +281,7 @@ class AbiWordActivity (Activity): def write_file(self, file_path): logging.debug('AbiWordActivity.write_file') + self.metadata['mime_type'] = 'application/vnd.oasis.opendocument.text' f = open(file_path, 'w') try: logger.debug('Writing content as .odt') -- cgit v0.9.1