From 075faa71acf02e9318e24de4a34ef64cdbca5cf0 Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 8 Sep 2017 12:49:45 -0500 Subject: [PATCH] Update spoilers.py --- spoilers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spoilers.py b/spoilers.py index 94c988f6..32f11b9b 100644 --- a/spoilers.py +++ b/spoilers.py @@ -305,7 +305,7 @@ def error_check(mtgjson, card_corrections={}): for correctionType in card_corrections[cardCorrection]: # if not correctionType in card and correctionType not in : # sys.exit("Invalid correction for " + cardCorrection + " of type " + card) - if correctionType = 'number': + if correctionType == 'number': card_corrections[cardCorrection]['number'] = str(card_corrections[cardCorrection]['number']) if not correctionType == 'name': if correctionType == 'img':