Commit 707b0eb0 authored by Tristan Cavelier's avatar Tristan Cavelier

+1

parent b3bcd840
...@@ -102,7 +102,7 @@ class Handler(object): ...@@ -102,7 +102,7 @@ class Handler(object):
def convert(self, destination_mimetype=None, **kw): def convert(self, destination_mimetype=None, **kw):
""" Convert the inputed file to output as format that were informed """ """ Convert the inputed file to output as format that were informed """
source_format = self.file.source_format source_format = self.file.source_format
destination_format = mimetype_format_dict[destination_mimetype] if "/" in destination_mimetype else destination_mimetype) destination_format = mimetype_format_dict[destination_mimetype] if "/" in destination_mimetype else destination_mimetype
logger.debug("x2t convert: %s > %s" % (self.source_mimetype, destination_mimetype)) logger.debug("x2t convert: %s > %s" % (self.source_mimetype, destination_mimetype))
# init vars and xml configuration file # init vars and xml configuration file
......
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