Fix changing master id via search method.

This commit is contained in:
Prinz23 2018-05-16 01:34:44 +02:00 committed by JackDandy
parent 602d61c99e
commit 1b835fb85e
2 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,9 @@
### 0.16.7 (2018-05-14 02:40:00 UTC)
### 0.16.8 (2018-05-17 02:00:00 UTC)
* Fix changing master id via search method
### 0.16.7 (2018-05-14 02:40:00 UTC)
* Fix name_parser_tests for test_extra_info_no_name

View file

@ -2210,9 +2210,9 @@ class Home(MainHandler):
t = PageTemplate(web_handler=self, file='editShow.tmpl')
t.submenu = self.HomeMenu()
t.expand_ids = all([kwargs.get('tvsrc'), kwargs.get('srcid')])
t.expand_ids = all([kwargs.get('tvsrc'), helpers.tryInt(kwargs.get('srcid'))])
t.tvsrc = int(kwargs.get('tvsrc', 0))
t.srcid = kwargs.get('srcid')
t.srcid = helpers.tryInt(kwargs.get('srcid'))
myDB = db.DBConnection()
t.seasonResults = myDB.select(