Commit Graph
13 Commits
Author SHA1 Message Date
Geeknasty 9a830cd836 feat: Expand environment variables in file paths for DirectoryFileCounter and TextFileLineCounter
This update enhances the `DirectoryFileCounter` and `TextFileLineCounter` classes by expanding environment variables in file paths using `os.path.expandvars()`. This change allows these classes to correctly handle paths that include environment variables, improving their flexibility and usability in various environments.

- **DirectoryFileCounter**: The `execute_file_counter` method now expands environment variables in the `directory_path` before performing directory operations.
- **TextFileLineCounter**: The `execute_line_counter` method now expands environment variables in the `file_path` before reading the file.

This fix ensures that paths containing variables such as `%userprofile%` are properly resolved, enabling more dynamic and environment-aware file handling.
2024-08-15 23:24:11 -04:00
ChrisColeTech e7db7fc8f4 Update README.md 2024-08-15 22:44:30 -04:00
ChrisColeTech d21aba3a57 Update pyproject.toml 2024-08-15 22:37:15 -04:00
ChrisColeTech e58a69ecf8 Update README.md 2024-08-15 21:47:11 -04:00
ChrisColeTech 16d19b546e added preview images 2024-08-15 21:41:47 -04:00
ChrisColeTech 2a5c04e0a0 Create pyproject.toml 2024-08-15 19:41:34 -04:00
ChrisColeTech 8ce356c615 Merge pull request #2 from ComfyNodePRs/publish
Add Github Action for Publishing to Comfy Registry
2024-08-15 19:39:23 -04:00
ChrisColeTech 1736d1e9e3 Update __init__.py 2024-08-14 23:39:19 -04:00
ChrisColeTech da6f0c65c5 Update line_counter.py 2024-08-14 22:28:43 -04:00
snomiao c5f2f6ba86 chore(publish): Add Github Action for Publishing to Comfy Registry 2024-08-14 15:59:30 +00:00
ChrisColeTech 9e196c28b3 bug fixes 2024-08-14 03:27:30 -04:00
ChrisColeTech 9cb7801c10 initial commit 2024-08-14 01:00:38 -04:00
ChrisColeTech 003ddc3fb4 Initial commit 2024-08-14 01:00:11 -04:00