Skip to content

Commit 0810571

Browse files
authored
fix: use absolute path resolution for file handling in ND2Reader (#269)
1 parent 4f3beef commit 0810571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nd2/_readers/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def create(
6262
)
6363
ctx: AbstractContextManager[BinaryIO] = nullcontext(path)
6464
else:
65-
path = Path(path).expanduser().resolve()
65+
path = Path(path).expanduser().absolute()
6666
ctx = open(path, "rb")
6767

6868
with ctx as fh:

0 commit comments

Comments
 (0)