From 1b835fb85ec31cbb532113d5e6d178a8347ef177 Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Wed, 16 May 2018 01:34:44 +0200 Subject: [PATCH] Fix changing master id via search method. --- CHANGES.md | 7 ++++++- sickbeard/webserve.py | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 57d0bd2e..285ce240 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index 30795eae..a00255cb 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -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(