diff --git a/calibre-plugin/fff_plugin.py b/calibre-plugin/fff_plugin.py index 890e38c5..be2355a5 100644 --- a/calibre-plugin/fff_plugin.py +++ b/calibre-plugin/fff_plugin.py @@ -1080,13 +1080,6 @@ class FanFicFarePlugin(InterfaceAction): logger.debug("url:%s"%url) mi = None - ## Check reject list. Redundant with below for when story URL - ## changes, but also kept here to avoid network hit in most - ## common case where given url is story url. - - if self.reject_url(merge,book): - return - # The current database shown in the GUI # db is an instance of the class LibraryDatabase2 from database.py # This class has many, many methods that allow you to do a lot of @@ -1099,6 +1092,12 @@ class FanFicFarePlugin(InterfaceAction): bgmeta= options['bgmeta'] updateepubcover= options['updateepubcover'] + ## Check reject list. Redundant with below for when story URL + ## changes, but also kept here to avoid network hit in most + ## common case where given url is story url. + if self.reject_url(merge,book): + return + # Dialogs should prevent this case now. if collision in (UPDATE,UPDATEALWAYS) and fileform != 'epub': raise NotGoingToDownload(_("Cannot update non-epub format."))