From 12446d5574364b5fefd449e92521125fc3653bda Mon Sep 17 00:00:00 2001 From: JackDandy Date: Fri, 20 Nov 2015 17:32:01 +0000 Subject: [PATCH] Change improve the use of multiple plex servers. --- CHANGES.md | 1 + sickbeard/notifiers/plex.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 4f413467..ed150d6a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -76,6 +76,7 @@ * Add Code Climate configuration files * Change to move init-scripts to single folder * Change sickbeard variables to sickgear variables in init-scripts +* Change improve the use of multiple plex servers [develop changelog] Enable Alpha Ratio again now that the secure login page over https is fixed diff --git a/sickbeard/notifiers/plex.py b/sickbeard/notifiers/plex.py index 182b7784..694fcb37 100644 --- a/sickbeard/notifiers/plex.py +++ b/sickbeard/notifiers/plex.py @@ -247,7 +247,7 @@ class PLEXNotifier: if section_path in location_path: hosts_match.update(keyed_host) - hosts_try = (hosts_all.copy(), hosts_match.copy())[len(hosts_match)] + hosts_try = (hosts_all.copy(), hosts_match.copy())[any(hosts_match)] host_list = [] for section_key, cur_host in hosts_try.items():