Skip to content

Commit aad7d68

Browse files
committed
fix: ensure pin_download returns a list of strings
1 parent 06c0cd0 commit aad7d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pins/boards.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ def pin_download(self, name, version=None, hash=None) -> Sequence[str]:
764764
if fname is None:
765765
raise PinsError("pin_download requires a cache.")
766766

767-
return [Path(fname).absolute()]
767+
return [str(Path(fname).absolute())]
768768

769769
def construct_path(self, elements):
770770
# TODO: in practice every call to construct_path has the first element of

0 commit comments

Comments
 (0)