From cbda4d424db613c376afbf6953fe0ee72df54e0b Mon Sep 17 00:00:00 2001 From: echel0n Date: Fri, 27 Jun 2014 04:04:54 -0700 Subject: [PATCH] Small fix for new trakt feature --- sickbeard/webserve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index 2da67aa7..06c96fce 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -2735,7 +2735,7 @@ class NewHomeAddShows(MainHandler): def getRecommendedShows(self, *args, **kwargs): final_results = [] - + if sickbeard.USE_TRAKT: for myShow in sickbeard.showList: notifiers.trakt_notifier.update_show_library(myShow) @@ -2753,7 +2753,7 @@ class NewHomeAddShows(MainHandler): recommendedlist if not helpers.findCertainShow(sickbeard.showList, indexerid=int(show['tvdb_id'])))) - return json.dumps({'results': final_results}) + return json.dumps({'results': final_results}) def addRecommendedShow(self, whichSeries=None, indexerLang="en", rootDir=None, defaultStatus=None, anyQualities=None, bestQualities=None, flatten_folders=None, subtitles=None,