Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement recursive search for extensions in get_all_extensions function
Updated the get_all_extensions function to search recursively instead of only listing the current directory. This change allows for a more comprehensive retrieval of file extensions across the directory tree. The function now recursively traverses the subtree, collecting extensions from nested dictionaries and lists. The get_extensions function has also been adapted to utilize the updated get_all_extensions function appropriately. This change enhances the flexibility and accuracy of extension retrieval, enabling better compatibility with different directory structures and file types. The modified code has been tested successfully on a Debian LXC container in Proxmox, verifying the correct functioning of the new recursive search feature. Issue: OctoPrint#4826
- Loading branch information