mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
This commit is contained in:
parent
32eb513022
commit
4eb14a7bd5
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user