| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
1. no need to call path.basename.lower() since it's cached in
path.basename_lower.
2. no need to convert a bool to int for arithmetic operations
3. path.is_directory is faster than an isinstance() check
|
| |
|
| |
|
| |
|
|
|
|
| |
skip drawing of the right border if its too wide
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Sometimes, maybe when a directory is GCed while youre inside,
it shows a "NoneType is not iterable" error when trying to open
images
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Thanks to JohannesSM64
|
| |
|
| |
|
| |
|