Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If file names include e.g. '[' or ']', fnmatch, which is used by glob, might throw a bad character range exception in re. Escaping the path with glob.escape() before globbing prevents this issue.
- Loading branch information