mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Fix for new show searches
This commit is contained in:
parent
e1ee01579d
commit
00f38a7157
2 changed files with 4 additions and 0 deletions
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue