We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39e7673 commit a168498Copy full SHA for a168498
src/uproot/_util.py
@@ -386,6 +386,9 @@ def file_path_to_source_class(file_path: str | IO, options: dict):
386
protocol, path = fsspec.core.split_protocol(file_path)
387
if protocol == "file":
388
file_path = unquote(path)
389
+ if "://" not in file_path:
390
+ file_path = "file://" + file_path
391
+ _, file_path = fsspec.core.url_to_fs(file_path)
392
393
if not (
394
isinstance(handler_cls, type)
0 commit comments