Fix regression PMS update notifications broken

This commit is contained in:
JonnyWong16
2016-04-29 07:07:02 -07:00
parent 72af2fa281
commit 4a5d2f8502

View File

@@ -934,6 +934,7 @@ def build_server_notify_text(notify_action=None, agent_id=None):
update_status = {}
if notify_action == 'pmsupdate':
pms_connect = pmsconnect.PmsConnect()
update_status = pms_connect.get_update_staus()
if server_times:
@@ -1108,4 +1109,4 @@ def strip_tag(data, agent_id=None):
else:
p = re.compile(r'<.*?>', re.IGNORECASE | re.DOTALL)
return p.sub('', data)
return p.sub('', data)