'Send a Pushsafer notification'

def notify(self, title, message, config):

    notification = {u't': title, u'm': message, u'ut': config.get(u'url_title'), u'u': config.get(u'url'), u's': config.get(u'sound'), u'i': config.get(u'icon'), u'v': config.get(u'vibration'), u'd': config.get(u'device'), u'l': config.get(u'timetolive')}
    if (not isinstance(config[u'private_key'], list)):
        config[u'private_key'] = [config[u'private_key']]
    for key in config[u'private_key']:
        notification[u'k'] = key
        try:
            requests.post(PUSHSAFER_URL, data=notification)
        except RequestException as e:
            raise PluginWarning(repr(e))
