Commit 8c7316b2 authored by echel0n's avatar echel0n

Added check for show object to see if NoneType when search TV show cache.

parent eb4cf0ae
......@@ -271,6 +271,8 @@ class TVCache(object):
with as session:
for curResult in dbData:
show_object = find_show(int(curResult["indexer_id"]), session=session)
if not show_object:
result = self.provider.getResult()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment