Commit c33cbbb
committed
fix: wrap PosixPath in str() for open() in Python 3.4
Python 3.4 doesn't support passing pathlib.Path objects to the builtin
open(); that was added in Python 3.6. Use str(path) explicitly.1 parent 6ee3e4f commit c33cbbb
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
753 | | - | |
| 753 | + | |
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
| |||
772 | 772 | | |
773 | 773 | | |
774 | 774 | | |
775 | | - | |
| 775 | + | |
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
| |||
0 commit comments