From 69ae58686e87fd60e590e4795dece630a617a9e3 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Sat, 30 May 2015 16:18:36 -0500 Subject: [PATCH] Normalize story URLs from email before comparing to Reject List. --- calibre-plugin/fff_plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calibre-plugin/fff_plugin.py b/calibre-plugin/fff_plugin.py index f9da3837..1f15ccfb 100644 --- a/calibre-plugin/fff_plugin.py +++ b/calibre-plugin/fff_plugin.py @@ -447,7 +447,8 @@ class FanFicFarePlugin(InterfaceAction): prefs['imapmarkread'],) reject_list=set() if prefs['auto_reject_from_email']: - reject_list = set([x for x in url_list if rejecturllist.check(x)]) + # need to normalize for reject list. + reject_list = set([x for x in url_list if rejecturllist.check(adapters.getNormalStoryURLSite(x)[0])]) url_list = url_list - reject_list self.gui.status_bar.show_message(_('Finished Fetching Story URLs from Email.'),3000)