From c7bbb765b29b6ecfed97d3b92f06804c4a6af2be Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Thu, 20 Oct 2016 14:28:12 -0500 Subject: [PATCH] Change default for post_process_apply_filename_safepattern to false. --- fanficfare/cli.py | 2 +- fanficfare/defaults.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fanficfare/cli.py b/fanficfare/cli.py index 14374df..eb40c88 100644 --- a/fanficfare/cli.py +++ b/fanficfare/cli.py @@ -378,7 +378,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'): - if adapter.getConfig('post_process_apply_filename_safepattern',True): + if adapter.getConfig('post_process_apply_filename_safepattern'): metadata = adapter.story.get_filename_safe_metadata() else: metadata = adapter.story.getAllMetadata() diff --git a/fanficfare/defaults.ini b/fanficfare/defaults.ini index bd08a52..cdac393 100644 --- a/fanficfare/defaults.ini +++ b/fanficfare/defaults.ini @@ -198,7 +198,7 @@ connect_timeout:60.0 ## characters. When true, the output_filename_safepattern will be ## applied to each metadata item passed to post_process_cmd before ## it's called. -post_process_apply_filename_safepattern:true +#post_process_apply_filename_safepattern:false ## Use regular expressions to find and replace (or remove) metadata. ## For example, you could change Sci-Fi=>SF, remove *-Centered tags,