From 02196562694c6633ceb07f0759955cfd33693a92 Mon Sep 17 00:00:00 2001 From: Agetian Date: Thu, 2 Feb 2023 12:25:20 +0300 Subject: [PATCH] Fix scryfallPriceGenerator script (#2369) * - Update the MTGDecksNet conversion and AI playability test toolchain to the latest version (Python 3 compatible). * - Make the input/output folders generic * - Make the input/output folders generic, part 2. * - Add the Scryfall all-prices.txt generator script. * - Minor code cleanup. * - Improve ConniveAi for Change of Plans. * - Check if the AI can draw cards for ConniveAI * - Improve the price generation script to account for the Scryfall set code to Forge set code mapping. - Tweak paths in some of the scripts. * - Fix scryfallPricesGenerator. --- forge-gui/tools/scryfallPricesGenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-gui/tools/scryfallPricesGenerator.py b/forge-gui/tools/scryfallPricesGenerator.py index 6b189ae09ae..6c6d6a60644 100755 --- a/forge-gui/tools/scryfallPricesGenerator.py +++ b/forge-gui/tools/scryfallPricesGenerator.py @@ -32,7 +32,7 @@ for filename in files: metadata_filename = filename break -if metadata_file is None: +if metadata_filename is None: print("Please download the Default Cards bulk data json file from https://scryfall.com/docs/api/bulk-data and place it in the script folder.") exit(1)