Commit 3982e653 authored by echel0n's avatar echel0n

Fixed 'NoneType' object has no attribute 'get_episode' in provider find_search_results function

parent ad5bf696
......@@ -269,6 +269,9 @@ class GenericProvider(object):
return provider_results
show_object = find_show(show_id, session=session)
if not show_object:
return provider_results
episode_object = show_object.get_episode(season, episode)
# search cache for episode result
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