mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 19:42:20 -05:00
Fixed for Fanart.TV API when indexerid is 0
This commit is contained in:
parent
7e8b27fcd3
commit
ef9334fa6a
@ -1011,6 +1011,7 @@ class GenericMetadata():
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
indexerid = helpers.mapIndexersToShow(show)[1]
|
indexerid = helpers.mapIndexersToShow(show)[1]
|
||||||
|
if indexerid:
|
||||||
request = Request(
|
request = Request(
|
||||||
apikey=sickbeard.FANART_API_KEY,
|
apikey=sickbeard.FANART_API_KEY,
|
||||||
id=indexerid,
|
id=indexerid,
|
||||||
|
Loading…
Reference in New Issue
Block a user