Replace - in type line with

This commit is contained in:
tritoch 2017-07-07 00:20:44 -05:00
parent c13a719944
commit 291efdb19e

View File

@ -141,6 +141,8 @@ def error_check(mtgjson, card_corrections={}):
if not 'subtypes' in card:
errors.append(
{"name": card['name'], "key": "subtypes", "value": ""})
if '-' in card['type']:
card['type'] = card['type'].replace('-',u'')
if 'manaCost' in card:
workingCMC = 0
stripCost = card['manaCost'].replace('{', '').replace('}', '')