mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-04-28 18:04:33 +02:00
Fix CLI post_process_cmd to use processed metadata instead of raw.
This commit is contained in:
parent
99e4ea9a59
commit
72217423c7
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ def do_download(arg,
|
|||
output_filename = write_story(configuration, adapter, options.format, options.metaonly)
|
||||
|
||||
if not options.metaonly and adapter.getConfig('post_process_cmd'):
|
||||
metadata = adapter.story.metadata
|
||||
metadata = adapter.story.getAllMetadata()
|
||||
metadata['output_filename'] = output_filename
|
||||
call(string.Template(adapter.getConfig('post_process_cmd')).substitute(metadata), shell=True)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue