Skip to content

Commit

Permalink
Disable native reader even if it supplies files, because it might not…
Browse files Browse the repository at this point in the history
… have features/fixes present in this library. Fixes #257.
  • Loading branch information
jaraco committed Feb 17, 2023
1 parent 2bd9048 commit 68be8b4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions importlib_resources/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ def _file_reader(spec):
return readers.FileReader(self)

return (
# native reader if it supplies 'files'
_native_reader(self.spec)
or
# local ZipReader if a zip module
_zip_reader(self.spec)
or
Expand Down

0 comments on commit 68be8b4

Please sign in to comment.