Making the outputs a bit more organized, adding some more stats to them

This commit is contained in:
2025-12-30 19:52:34 -05:00
parent 9a8144af68
commit 6e32e3ec54
4 changed files with 39 additions and 17 deletions

View File

@@ -182,7 +182,7 @@ def main() -> None:
# Write the chosen model as JSON output.
with open('./tumblr_stats.json', 'w') as f:
json.dump(asdict(stats_model), f, indent=1)
json.dump(asdict(stats_model), f, indent=1, default=str)
# If there were original posts, create a CSV for them.
if post_map: