From dd2f12fa8ef777b25446b04a5a1ed86f40ccf2c0 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sun, 6 Dec 2020 22:48:00 -0800 Subject: [PATCH] Fix typo in notifier error log message --- plexpy/notifiers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index f4a75910..ebccce84 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -854,8 +854,8 @@ class Notifier(object): else: verify_msg = "" - if response is not None and response.status_code >= 400 and response.status_code < 500: - verify_msg = " Verify you notification agent settings are correct." + if response is not None and 400 <= response.status_code < 500: + verify_msg = " Verify your notification agent settings are correct." logger.error("Tautulli Notifiers :: {name} notification failed.{msg}".format(msg=verify_msg, name=self.NAME))