Skip to content

Conversation

@Blargian
Copy link
Member

Summary

If you try to generate a table of contents file containing dates, the script throws error:

TypeError: Object of type date is not JSON serializable

Adds default=str to json.dumps method such that dates will be written as strings. For our purposes this is probably sufficient for now.

Checklist

@gingerwizard gingerwizard merged commit 14b50bd into main Jan 27, 2025
5 checks passed
@gingerwizard gingerwizard deleted the Blargian-patch-8 branch January 30, 2025 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants