Commit 876f19a
committed
Fix dump method TypeError when path argument is provided
The dump method was failing with a TypeError when the path argument was
provided because it attempted to use += to concatenate a string to a Path
object. Fixed by ensuring pth is always a Path object and using proper
Path concatenation: pth.parent / (pth.name + ".zip")1 parent 8a61267 commit 876f19a
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
799 | | - | |
| 799 | + | |
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
803 | | - | |
804 | | - | |
| 803 | + | |
| 804 | + | |
805 | 805 | | |
806 | 806 | | |
807 | 807 | | |
| |||
0 commit comments