mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Moved code for marking failed download successful out of loop.
Newznab providers now create season search strings for all searches as single ep search strings combined with using rage id numbers seems broken currently.
This commit is contained in:
parent
5ac99b8c5c
commit
7b54611361
2 changed files with 7 additions and 7 deletions
|
@ -943,17 +943,16 @@ class PostProcessor(object):
|
|||
|
||||
sql_l.append(cur_ep.get_sql())
|
||||
|
||||
# Just want to keep this consistent for failed handling right now
|
||||
releaseName = show_name_helpers.determineReleaseName(self.folder_path, self.nzb_name)
|
||||
if releaseName is not None:
|
||||
failed_history.logSuccess(releaseName)
|
||||
else:
|
||||
self._log(u"Couldn't find release in snatch history", logger.WARNING)
|
||||
|
||||
if len(sql_l) > 0:
|
||||
myDB = db.DBConnection()
|
||||
myDB.mass_action(sql_l)
|
||||
|
||||
# Just want to keep this consistent for failed handling right now
|
||||
releaseName = show_name_helpers.determineReleaseName(self.folder_path, self.nzb_name)
|
||||
if releaseName is not None:
|
||||
failed_history.logSuccess(releaseName)
|
||||
else:
|
||||
self._log(u"Couldn't find release in snatch history", logger.WARNING)
|
||||
|
||||
# find the destination folder
|
||||
try:
|
||||
|
|
|
@ -114,6 +114,7 @@ class NewznabProvider(generic.NZBProvider):
|
|||
return to_return
|
||||
|
||||
def _get_episode_search_strings(self, ep_obj, add_string=''):
|
||||
return self._get_season_search_strings(ep_obj)
|
||||
|
||||
to_return = []
|
||||
params = {}
|
||||
|
|
Loading…
Reference in a new issue