From 53c8b69f1eaf8930cd0fefbcde6ed595084a609f Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Fri, 18 Feb 2022 10:16:14 -0600 Subject: [PATCH] Stop looking for FFDL settings--it's been 7 years. --- calibre-plugin/prefs.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/calibre-plugin/prefs.py b/calibre-plugin/prefs.py index 8029a708..2a615270 100644 --- a/calibre-plugin/prefs.py +++ b/calibre-plugin/prefs.py @@ -102,9 +102,6 @@ updatecalcover_order=[YES,YES_IF_IMG,NO] gencalcover_order=[YES,YES_UNLESS_IMG,NO] do_wordcount_order=[YES,YES_UNLESS_SITE,NO] -# if don't have any settings for FanFicFarePlugin, copy from -# predecessor FanFictionDownLoaderPlugin. -FFDL_PREFS_NAMESPACE = 'FanFictionDownLoaderPlugin' PREFS_NAMESPACE = 'FanFicFarePlugin' PREFS_KEY_SETTINGS = 'settings' @@ -212,12 +209,6 @@ def get_library_config(db,setting=PREFS_KEY_SETTINGS,def_prefs=default_prefs): library_config = db.prefs.get_namespaced(PREFS_NAMESPACE, setting) - # if don't have any settings for FanFicFarePlugin, copy from - # predecessor FanFictionDownLoaderPlugin. - if library_config is None: - logger.info("Attempting to read settings from predecessor--FFDL") - library_config = db.prefs.get_namespaced(FFDL_PREFS_NAMESPACE, - setting) if library_config is None: # defaults. logger.info("Using default settings")