Use .json instead of .txt for the info file
This commit is contained in:
parent
b1d3711370
commit
1843a4b8fa
|
@ -91,7 +91,7 @@ def main():
|
|||
except FileExistsError:
|
||||
pass
|
||||
|
||||
with open('output/%s/index.txt' % deck, 'w') as f:
|
||||
with open('output/%s/index.json' % deck, 'w') as f:
|
||||
f.write(json.dumps(geninfo(data, deck, official)))
|
||||
with open('output/%s/cards' % deck, 'w') as f:
|
||||
# Just default to everything being nsfw
|
||||
|
|
Loading…
Reference in New Issue