Use .json instead of .txt for the info file

This commit is contained in:
Juhani Krekelä 2020-06-03 01:22:34 +03:00
parent b1d3711370
commit 1843a4b8fa
1 changed files with 1 additions and 1 deletions

View File

@ -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