summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-04 20:08:34 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-04 20:08:34 +0100
commit859b50b036a8031da257605d6d9e0490d8742597 (patch)
tree2db08541b9dac0a7473eb347a5cbf79b01a62804 /tools
parent55ab03d100f5ebe82223e71d87fa9f52373b0505 (diff)
downloadvotes-for-women-859b50b036a8031da257605d6d9e0490d8742597.tar.gz
events boilerplate with comments
Diffstat (limited to 'tools')
-rw-r--r--tools/gencards.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gencards.py b/tools/gencards.py
index d4461ff..87fd401 100644
--- a/tools/gencards.py
+++ b/tools/gencards.py
@@ -35,6 +35,8 @@ def flush():
cards.append(output)
+ # print("CARD {} - {}\n# {}\n".format(output['id'], output['title'], output['text']))
+
# Reset card attributes for the next entry
card['title'] = ""
card['text'] = []
@@ -45,6 +47,7 @@ def read_cards(_card_type):
card['type'] = _card_type
card['era'] = ""
filename = file_format.format(_card_type)
+ # print("# {} Cards\n".format(_card_type.title()))
with open(filename) as fp:
for line in fp: