Commit 6c9ca4ff authored by Jérome Perrin's avatar Jérome Perrin

wip

parent 0b5ff71a
Pipeline #19212 failed with stage
in 0 seconds
...@@ -41,7 +41,7 @@ from cloudooo.handler.ooo.mimemapper import mimemapper ...@@ -41,7 +41,7 @@ from cloudooo.handler.ooo.mimemapper import mimemapper
from cloudooo.handler.ooo.document import FileSystemDocument from cloudooo.handler.ooo.document import FileSystemDocument
from cloudooo.handler.ooo.monitor.timeout import MonitorTimeout from cloudooo.handler.ooo.monitor.timeout import MonitorTimeout
from cloudooo.handler.ooo.monitor import monitor_sleeping_time from cloudooo.handler.ooo.monitor import monitor_sleeping_time
from cloudooo.util import logger, parseContentType from cloudooo.util import logger, parseContentType, loadMimetypeList
from psutil import pid_exists from psutil import pid_exists
...@@ -66,6 +66,7 @@ class Handler(object): ...@@ -66,6 +66,7 @@ class Handler(object):
if not self.office_binary_path: if not self.office_binary_path:
self.office_binary_path = environ.get("office_binary_path") self.office_binary_path = environ.get("office_binary_path")
self._createDocument(base_folder_url, data, source_format) self._createDocument(base_folder_url, data, source_format)
loadMimetypeList()
def _createDocument(self, base_folder_url, data, source_format): def _createDocument(self, base_folder_url, data, source_format):
if source_format == 'csv': if source_format == 'csv':
......
This diff is collapsed.
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