def filterAndFormatMessage(new_status):
global current_status
if new_status[0] == "error":
distributeXmppMsg(uwscfg.msg_status_error_msg, high_priority=True)
elif current_status[0] != new_status[0]:
def filterAndFormatMessage(new_status):
global current_status
if new_status[0] == "error":
distributeXmppMsg(uwscfg.msg_status_error_msg, high_priority=True)
elif current_status[0] != new_status[0]: