1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Fix for new show searches

This commit is contained in:
echel0n 2014-05-29 07:00:41 -07:00
parent e1ee01579d
commit 00f38a7157
2 changed files with 4 additions and 0 deletions

View File

@ -683,6 +683,8 @@ class Tvdb:
BaseUI is used to select the first result.
"""
allSeries = self.search(series)
if not isinstance(allSeries, list):
allSeries = [allSeries]
if len(allSeries) == 0:
log().debug('Series result returned zero')

View File

@ -548,6 +548,8 @@ class TVRage:
BaseUI is used to select the first result.
"""
allSeries = self.search(series)
if not isinstance(allSeries, list):
allSeries = [allSeries]
if len(allSeries) == 0:
log().debug('Series result returned zero')