fix(decode): use correct card var

Fixes #22
This commit is contained in:
Sabe Jones 2017-01-18 20:46:50 +00:00
parent ee5f26590d
commit 9200102983

View file

@ -151,7 +151,7 @@ def mtg_open_file(fname, verbose = False,
elif card.parsed: elif card.parsed:
invalid += 1 invalid += 1
if verbose: if verbose:
print 'Invalid card: ' + json_cardname print 'Invalid card: ' + card_src
else: else:
unparsed += 1 unparsed += 1