From 2d10b0748c7fa2ee4cf59960c3d3fffc6aa9512b Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 7 May 2016 16:16:08 -0700 Subject: [PATCH] Change regex to match a3a62b1 for server notify text --- plexpy/notification_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/notification_handler.py b/plexpy/notification_handler.py index eb64d20e..d4a424bd 100644 --- a/plexpy/notification_handler.py +++ b/plexpy/notification_handler.py @@ -959,7 +959,7 @@ def build_server_notify_text(notify_action=None, agent_id=None): logger.error(u"PlexPy NotificationHandler :: Unable to retrieve server uptime.") server_uptime = 'N/A' - pattern = re.compile('\n*[^>]+.\n*|\n*[^>]+.\n*|\n*?[^>]+.\n*', re.IGNORECASE | re.DOTALL) + pattern = re.compile(r'.*?|.*?|.*?', re.IGNORECASE | re.DOTALL) on_extdown_subject = strip_tag(plexpy.CONFIG.NOTIFY_ON_EXTDOWN_SUBJECT_TEXT, agent_id) on_extdown_body = strip_tag(plexpy.CONFIG.NOTIFY_ON_EXTDOWN_BODY_TEXT, agent_id)