mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-03-21 17:54:59 -05:00
Merge pull request #173 from Cockatrice/dev-id-dfc-xml-writer
Let xml writer handle back sides of DFC
This commit is contained in:
commit
be76183d14
|
|
@ -427,8 +427,9 @@ def write_xml(mtgjson, code, name, releaseDate):
|
|||
# print mtgjson
|
||||
for card in mtgjson["cards"]:
|
||||
if 'names' in card:
|
||||
if card["name"] == card['names'][1]:
|
||||
continue
|
||||
if 'layout' in card and card['layout'] != 'double-faced':
|
||||
if card["name"] == card['names'][1]:
|
||||
continue
|
||||
if count == 0:
|
||||
newest = card["name"]
|
||||
count += 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user