Fix typo in notifier error log message

This commit is contained in:
JonnyWong16 2020-12-06 22:48:00 -08:00
parent 9598247a0d
commit dd2f12fa8e
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -854,8 +854,8 @@ class Notifier(object):
else: else:
verify_msg = "" verify_msg = ""
if response is not None and response.status_code >= 400 and response.status_code < 500: if response is not None and 400 <= response.status_code < 500:
verify_msg = " Verify you notification agent settings are correct." verify_msg = " Verify your notification agent settings are correct."
logger.error("Tautulli Notifiers :: {name} notification failed.{msg}".format(msg=verify_msg, name=self.NAME)) logger.error("Tautulli Notifiers :: {name} notification failed.{msg}".format(msg=verify_msg, name=self.NAME))