#!/bin/bash

set -xe

if [ "$RELOAD" = 'true' ] ; then
  reload_arg=', "reload": "True"'
else
  reload_arg=''
fi

context="\"licensor\": \"$LICENSOR\"$reload_arg"

python feed_ingestion/bin/exec_flows.py kugou --skip $SKIP --days $DAYS --context "{${context}}" --check-status