Commit b84a57f1 authored by echel0n's avatar echel0n
Browse files

Fixed issue with searching series providers for series id by term during name parsing

parent bdd325ac
......@@ -25,6 +25,7 @@ from sqlalchemy import orm
import sickrage
from sickrage.core.databases.main import MainDB
from sickrage.core.enums import SeriesProviderID
from import find_show
def map_series_providers(series_provider_id, series_id, name):
......@@ -106,7 +107,7 @@ def search_series_provider_for_series_id(show_name, series_provider_id):
if not series_id:
if int(series_id) in
if find_show(int(series_id), series_provider_id):
return series_id
return series_provider_data[0].get('id', None)
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