This commit is contained in:
Kovid Goyal 2008-03-23 20:16:24 +00:00
parent 32eb513022
commit 4eb14a7bd5

View File

@ -139,7 +139,7 @@ def process_file(path, options, logger=None):
elif ext in ['mobi', 'prc']:
convertor = mobi2lrf
if not convertor:
raise UnknownFormatError('Coverting from %s to LRF is not supported.')
raise UnknownFormatError('Coverting from %s to LRF is not supported.'%ext)
convertor(path, options, logger)
finally:
os.chdir(cwd)