diff --git a/CHANGES.md b/CHANGES.md index 2565e38e..c3b80b87 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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" diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index 85fc8acf..21d431a4 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -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)