Merge branch 'hotfix/0.7.2'

This commit is contained in:
JackDandy 2015-03-10 17:16:51 +00:00
commit 836c378e4e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
### 0.7.2 (2015-03-10 17:05:00 UTC)
* Fix Add From Trending page (indexer_id can be "None" which causes white screen when clicking "Add Show")
### 0.7.1 (2015-03-10 17:00:00 UTC)
* Fix error page when clicking "Add Recommended"

View file

@ -2954,7 +2954,7 @@ class NewHomeAddShows(MainHandler):
return _munge(t)
def addTraktShow(self, indexer_id, showName):
if helpers.findCertainShow(sickbeard.showList, int(indexer_id)):
if helpers.findCertainShow(sickbeard.showList, config.to_int(indexer_id, '')):
return
return self.newShow('|'.join(['', '', indexer_id, showName]), use_show_name=True)