Skip to content

"unable to resolve template" error due to wrong seperator on filepaths #373

Description

@ozanmuyes

Using Pongo2 v6 on Windows and using embed.FS as the argument for NewFSLoader "unable to resolve template" error thrown. This is due to using Windows path seperator (i.e. "\\") instead of Unix (i.e. "/") in pongo2.template_loader.Get().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions