Skip to content

Commit 61c22fd

Browse files
committed
make FS URL with no protocol equivlenet to default opener
1 parent 712bd2c commit 61c22fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/opener/registry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def get_opener(self, protocol):
123123
successfully.
124124
125125
"""
126+
protocol = protocol or self.default_opener
126127
entry_point = next(
127128
pkg_resources.iter_entry_points('fs.opener', protocol),
128129
None

0 commit comments

Comments
 (0)