Skip to content
New issue

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

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

Already on GitHub? # to your account

Case Sensitivity in Modules #151

Open
flomotlik opened this issue May 18, 2020 · 0 comments
Open

Case Sensitivity in Modules #151

flomotlik opened this issue May 18, 2020 · 0 comments

Comments

@flomotlik
Copy link
Collaborator

When using modules and the Template files in a module subfolder is not in lower case it won't be found.

The problem is in the loader module where the following line lowercases all From statements but doesn't take the lower casing into account when searching through submodules:

module_path = self.path + "/" + "/".join(module_path.lower().split("::"))

The following link provides a possible solution for this: https://gist.github.com/techtonik/5694830

flomotlik added a commit that referenced this issue Jun 4, 2020
Use regex to be case-insensitive regardless of file system (#151)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant