Skip to content

Commit

Permalink
make FS URL with no protocol equivlenet to default opener
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Aug 22, 2017
1 parent 712bd2c commit 61c22fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/opener/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ def get_opener(self, protocol):
successfully.
"""
protocol = protocol or self.default_opener
entry_point = next(
pkg_resources.iter_entry_points('fs.opener', protocol),
None
Expand Down

0 comments on commit 61c22fd

Please sign in to comment.