mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix Add From Trending page (indexer_id can be "None" which causes white screen when clicking "Add Show").
Conflicts: CHANGES.md
This commit is contained in:
parent
53af6f54c8
commit
b95be5e53d
2 changed files with 6 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue