mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-03 14:43:29 +01:00
Normalize story URLs from email before comparing to Reject List.
This commit is contained in:
parent
542685be93
commit
69ae58686e
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue