重置设置
    :param target:
    :param settings:
    :return:

def reset(target, settings):
    """
    重置设置
    :param target:
    :param settings:
    :return:
    """
    target_settings = _import_module(target)
    for k, v in settings.items():
        if hasattr(target_settings, k):
            setattr(target_settings, k, _get_value(getattr(target_settings, k), v))
        else:
            logger.debug('AttributeError {target} has no attribute {k}'.format(target=target, k=k))
    return target_settings