mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Substitute {update_version} in fallback notification
This commit is contained in:
parent
75ae6b16a4
commit
4911cc76a3
1 changed files with 2 additions and 2 deletions
|
@ -1249,7 +1249,7 @@ def build_server_notify_text(notify_action=None, agent_id=None):
|
|||
|
||||
elif notify_action == 'pmsupdate':
|
||||
# Default body text
|
||||
body_text = 'An update is available for the Plex Media Server (version {update_version}).'
|
||||
body_text = 'An update is available for the Plex Media Server (version %s).' % available_params['update_version']
|
||||
|
||||
if on_pmsupdate_subject and on_pmsupdate_body:
|
||||
try:
|
||||
|
@ -1300,4 +1300,4 @@ def strip_tag(data, agent_id=None):
|
|||
|
||||
else:
|
||||
whitelist = {}
|
||||
return bleach.clean(data, tags=whitelist.keys(), attributes=whitelist, strip=True)
|
||||
return bleach.clean(data, tags=whitelist.keys(), attributes=whitelist, strip=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue