Making the outputs a bit more organized, adding some more stats to them
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user