Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix book.spine to flatten list; added encoding to content for Python3 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shindig7
Copy link

I tried running this in my Python3 environment, but it wouldn't run, so I just made a few adjustments that worked for me. Basically, the *chapters was no longer expanding the chapters list, so I used itertools to flatten the list. Switching from 2 to 3 often causes encoding issues, so I just added some encoding for utf-8 when reading the files.

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.

1 participant