We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 581e1cc + 2b9b328 commit b3b146fCopy full SHA for b3b146f
1 file changed
fletx/cli/templates/__init__.py
@@ -205,7 +205,7 @@ def _render_template_file(
205
try:
206
# Get relative path from templates directory
207
relative_path = template_file.relative_to(self.templates_dir)
208
- template = self.jinja_env.get_template(str(relative_path))
+ template = self.jinja_env.get_template(str(relative_path).replace(os.sep, '/'))
209
return template.render(**context)
210
211
# Template not found
0 commit comments