Commit 87ea23a
HalaAli198
Fix: Open TOML files in binary mode as required by tomllib
Fixed two instances where TOML files were opened in text mode instead of binary mode:
- Line 650: process_pyproject() method
- Line 716: process_pylock() method
The tomllib parser requires files to be opened in binary mode ('rb').
This fixes the TypeError when processing pyproject.toml and poetry.lock files.1 parent 2ec02e5 commit 87ea23a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
650 | | - | |
| 650 | + | |
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
| |||
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
716 | | - | |
| 716 | + | |
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
| |||
0 commit comments