mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-08-25 19:05:10 -05:00
Merge pull request #154 from dev-id/error-for-manaCost
Error for manaCost == ""
This commit is contained in:
@@ -190,7 +190,7 @@ def error_check(mtgjson, card_corrections={}):
|
||||
{"name": card['name'], "key": "subtypes", "value": ""})
|
||||
if '-' in card['type']:
|
||||
card['type'] = card['type'].replace('-',u'—')
|
||||
if 'manaCost' in card:
|
||||
if 'manaCost' in card and card['manaCost'] != "":
|
||||
workingCMC = 0
|
||||
stripCost = card['manaCost'].replace('{', '').replace('}', '')
|
||||
for manaSymbol in stripCost:
|
||||
|
||||
Reference in New Issue
Block a user