'Get raw YAML config file'

@etag
@api.doc(description=u'Return    config    file    encoded    in    Base64')
@api.response(200, model=raw_config_schema, description=u'Flexget    raw    YAML    config    file    encoded    in    Base64')
def get(self, session=None):

    with open(self.manager.config_path, u'r', encoding=u'utf-8') as f:
        raw_config = base64.b64encode(f.read().encode(u'utf-8'))
    return jsonify(raw_config=raw_config.decode(u'utf-8'))
