Skip to content

Conversation

@moskomule
Copy link
Contributor

Recently introduced load_jinja2_template function checks the type of template (if it is Path or Template) by path.exists, but this causes OSError: [Errno 36] File name too long: if the file name is longer than 255.
This PR fixes this problem.

@junya-takayama
Copy link
Collaborator

Thank you for the fix!
It looks like #260, posted around the same time, also fixes the same issue.
So I'll close this PR. Sorry 🙏

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