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

yaml changes support for Python3.9 #3

Open
rap165 opened this issue Jul 26, 2023 · 0 comments
Open

yaml changes support for Python3.9 #3

rap165 opened this issue Jul 26, 2023 · 0 comments

Comments

@rap165
Copy link

rap165 commented Jul 26, 2023

I had to change two lines to get it to work again with the latest builds

  • line12: config = yaml.safe_load(stream)

and add encoding to the open (otherwise you get an "I/O operation on closed file")

line 66: with open (file, 'r', encoding='utf-8') as fin:

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

No branches or pull requests

1 participant