diff --git a/tools/python/opentable_restaurants.py b/tools/python/opentable_restaurants.py index eec46c23c0..06f930a0d2 100755 --- a/tools/python/opentable_restaurants.py +++ b/tools/python/opentable_restaurants.py @@ -106,7 +106,7 @@ if __name__ == '__main__': args = parser.parse_args(sys.argv[1:]) if args.download: - print('Downloading') + logging.info('Downloading') loader = OpentableDownloader(args.client, args.secret, args.opentable_data) loader.download() if args.tsv is not None: diff --git a/tools/unix/generate_planet.sh b/tools/unix/generate_planet.sh index efe6742fa4..d3aa4e05f8 100755 --- a/tools/unix/generate_planet.sh +++ b/tools/unix/generate_planet.sh @@ -263,7 +263,7 @@ if [ "$MODE" == "coast" ]; then if [ ! -f "$OPENTABLE_FILE" -a -n "${OPENTABLE_USER-}" -a -n "${OPENTABLE_PASS-}" ]; then log "STATUS" "Step S2: Starting background restaurants downloading" ( - $PYTHON $OPENTABLE_SCRIPT --client $OPENTABLE_USER --secrete $OPENTABLE_PASS --opentable_data "$INTDIR"/opentable.json --download --tsv "$OPENTABLE_FILE" 2>"$LOG_PATH"/opentable.log & + $PYTHON $OPENTABLE_SCRIPT --client $OPENTABLE_USER --secret $OPENTABLE_PASS --opentable_data "$INTDIR"/opentable.json --download --tsv "$OPENTABLE_FILE" 2>"$LOG_PATH"/opentable.log & echo "Restaurants have been downloaded. Please ensure this line is before Step 4." >> "$PLANET_LOG" ) & fi