Substitute {update_version} in fallback notification

This commit is contained in:
JonnyWong16 2016-07-15 09:44:06 -07:00 committed by GitHub
parent 75ae6b16a4
commit 4911cc76a3

View file

@ -1249,7 +1249,7 @@ def build_server_notify_text(notify_action=None, agent_id=None):
elif notify_action == 'pmsupdate': elif notify_action == 'pmsupdate':
# Default body text # 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: if on_pmsupdate_subject and on_pmsupdate_body:
try: try: