| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
I don't see how calling repr fixes this - it'll just put some quotation marks around the directory name, right? The glob function used here doesn't call any Unix functions, it calls fnmatch which compiles the pattern to a regexp. What we need to do is call os.listdir on each directory and filter the results with fnmatch.filter("*.ttf") etc. Or am I getting this wrong? |
Sorry, something went wrong.
|
Chose alternative in pull request #60 -- therefore closing this. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Some paths were improperly being interpreted as a regular expression, leading to errors.