mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fixes exception generated in thread DAILYSEARCHER: 'NoneType' object has no attribute 'getEpisode'
This commit is contained in:
parent
761192e275
commit
2230420720
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@ class DailySearcher():
|
|||
if not show or int(sqlEp["showid"]) != show.indexerid:
|
||||
show = helpers.findCertainShow(sickbeard.showList, int(sqlEp["showid"]))
|
||||
|
||||
# for when there is orphaned series in the database but not loaded into our showlist
|
||||
if not show:
|
||||
continue
|
||||
|
||||
except exceptions.MultipleShowObjectsException:
|
||||
logger.log(u"ERROR: expected to find a single show matching " + sqlEp["showid"])
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue