1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Merge pull request #1258 from TagForce/issue499

Fix for 'List type has no attribute' on setting failed
This commit is contained in:
echel0n 2015-01-29 14:43:41 -08:00
commit c78da90465
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ class FailedProcessor(object):
for episode in parsed.episode_numbers: for episode in parsed.episode_numbers:
segment = parsed.show.getEpisode(parsed.season_number, episode) segment = parsed.show.getEpisode(parsed.season_number, episode)
cur_failed_queue_item = search_queue.FailedQueueItem(parsed.show, [segment]) cur_failed_queue_item = search_queue.FailedQueueItem(parsed.show, segment)
sickbeard.searchQueueScheduler.action.add_item(cur_failed_queue_item) sickbeard.searchQueueScheduler.action.add_item(cur_failed_queue_item)
return True return True

View File

@ -1654,7 +1654,7 @@ class Home(WebRoot):
msg += '<ul>' msg += '<ul>'
for season, segment in segments.items(): for season, segment in segments.items():
cur_failed_queue_item = search_queue.FailedQueueItem(showObj, [segment]) cur_failed_queue_item = search_queue.FailedQueueItem(showObj, segment)
sickbeard.searchQueueScheduler.action.add_item(cur_failed_queue_item) sickbeard.searchQueueScheduler.action.add_item(cur_failed_queue_item)
msg += "<li>Season " + str(season) + "</li>" msg += "<li>Season " + str(season) + "</li>"