From 92001029834d0f7ec71ebbd75d4b1f759df41e4b Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Wed, 18 Jan 2017 20:46:50 +0000 Subject: [PATCH] fix(decode): use correct card var Fixes #22 --- lib/jdecode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jdecode.py b/lib/jdecode.py index 682388a..2686878 100644 --- a/lib/jdecode.py +++ b/lib/jdecode.py @@ -151,7 +151,7 @@ def mtg_open_file(fname, verbose = False, elif card.parsed: invalid += 1 if verbose: - print 'Invalid card: ' + json_cardname + print 'Invalid card: ' + card_src else: unparsed += 1