From 7187aff1a619a0bc5f3ecba18ac5f29302edfabe Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sun, 9 Oct 2016 15:20:45 -0700 Subject: [PATCH] Minor notifier fixes * Email replace \n with
* Slack and Hipchat help text wording --- plexpy/notifiers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plexpy/notifiers.py b/plexpy/notifiers.py index 593c411b..fcccb20a 100644 --- a/plexpy/notifiers.py +++ b/plexpy/notifiers.py @@ -1333,6 +1333,7 @@ class EMAIL(Notifier): return if self.config['html_support']: + body = body.replace('\n', '
') msg = MIMEMultipart('alternative') msg.attach(MIMEText(bleach.clean(body, strip=True), 'plain', 'utf-8')) msg.attach(MIMEText(body, 'html', 'utf-8')) @@ -1837,8 +1838,7 @@ class SLACK(Notifier): {'label': 'Include Link to Plex Web', 'value': self.config['incl_pmslink'], 'name': 'slack_incl_pmslink', - 'description': 'Include a link to the media in Plex Web with the notifications.
' - 'If disabled, the link will go to IMDB, TVDB, TMDb, or Last.fm instead, if available.', + 'description': 'Include a second link to the media in Plex Web with the notifications.', 'input_type': 'checkbox' }, {'label': 'Include Subject Line', @@ -2482,7 +2482,7 @@ class HIPCHAT(Notifier): {'label': 'Include Poster', 'value': self.config['incl_poster'], 'name': 'hipchat_incl_poster', - 'description': 'Include a poster in the notifications.
This will change the notification type to HTML and emoticons will no longer work.', + 'description': 'Include a poster with the notifications.
Note: This will change the notification type to HTML and emoticons will no longer work.', 'input_type': 'checkbox' }, {'label': 'Include Link to Plex Web',