mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-07 11:58:01 -05:00
Fix for new show searches
This commit is contained in:
parent
e1ee01579d
commit
00f38a7157
@ -683,6 +683,8 @@ class Tvdb:
|
|||||||
BaseUI is used to select the first result.
|
BaseUI is used to select the first result.
|
||||||
"""
|
"""
|
||||||
allSeries = self.search(series)
|
allSeries = self.search(series)
|
||||||
|
if not isinstance(allSeries, list):
|
||||||
|
allSeries = [allSeries]
|
||||||
|
|
||||||
if len(allSeries) == 0:
|
if len(allSeries) == 0:
|
||||||
log().debug('Series result returned zero')
|
log().debug('Series result returned zero')
|
||||||
|
@ -548,6 +548,8 @@ class TVRage:
|
|||||||
BaseUI is used to select the first result.
|
BaseUI is used to select the first result.
|
||||||
"""
|
"""
|
||||||
allSeries = self.search(series)
|
allSeries = self.search(series)
|
||||||
|
if not isinstance(allSeries, list):
|
||||||
|
allSeries = [allSeries]
|
||||||
|
|
||||||
if len(allSeries) == 0:
|
if len(allSeries) == 0:
|
||||||
log().debug('Series result returned zero')
|
log().debug('Series result returned zero')
|
||||||
|
Loading…
Reference in New Issue
Block a user