Skip to content

Commit 53b72ec

Browse files
committed
chore: resolve Path.rename(PathLike) type error
1 parent 8de6cfc commit 53b72ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fpfind/lib/compression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def _save_encoded(self, filename: PathLike) -> None:
225225
metadata=metadata,
226226
**kwargs,
227227
)
228-
target.rename(filename) # rename
228+
target.rename(str(filename)) # rename
229229

230230
@staticmethod
231231
def _load_encoded(filename: PathLike) -> "DTS":

0 commit comments

Comments
 (0)