mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix running multiple file type plugins not seeing modified file from previous plugin
This commit is contained in:
parent
ff09f7eea1
commit
e652bfac22
@ -165,7 +165,7 @@ def _run_filetype_plugins(path_to_file, ft=None, occasion='preprocess'):
|
||||
except Exception:
|
||||
pass
|
||||
try:
|
||||
nfp = plugin.run(path_to_file) or path_to_file
|
||||
nfp = plugin.run(nfp) or nfp
|
||||
except:
|
||||
print >>oe, 'Running file type plugin %s failed with traceback:'%plugin.name
|
||||
traceback.print_exc(file=oe)
|
||||
|
Loading…
x
Reference in New Issue
Block a user