Fix regression PMS update notifications broken
This commit is contained in:
@@ -934,6 +934,7 @@ def build_server_notify_text(notify_action=None, agent_id=None):
|
|||||||
|
|
||||||
update_status = {}
|
update_status = {}
|
||||||
if notify_action == 'pmsupdate':
|
if notify_action == 'pmsupdate':
|
||||||
|
pms_connect = pmsconnect.PmsConnect()
|
||||||
update_status = pms_connect.get_update_staus()
|
update_status = pms_connect.get_update_staus()
|
||||||
|
|
||||||
if server_times:
|
if server_times:
|
||||||
@@ -1108,4 +1109,4 @@ def strip_tag(data, agent_id=None):
|
|||||||
else:
|
else:
|
||||||
p = re.compile(r'<.*?>', re.IGNORECASE | re.DOTALL)
|
p = re.compile(r'<.*?>', re.IGNORECASE | re.DOTALL)
|
||||||
|
|
||||||
return p.sub('', data)
|
return p.sub('', data)
|
||||||
|
|||||||
Reference in New Issue
Block a user