Skip to content

Commit 2f0bc00

Browse files
committed
debug win
1 parent 594a81b commit 2f0bc00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,8 +1326,8 @@ def _match_file(
13261326

13271327
def _resolve_local_path(path_str: str) -> Path:
13281328
parsed = parse_url(path_str)
1329-
if is_platform_windows():
1330-
return Path(path_str)
1329+
if is_platform_windows() and parsed.scheme != "file":
1330+
return Path(unquote(path_str))
13311331
return Path(unquote(parsed.path))
13321332

13331333

0 commit comments

Comments
 (0)