Add a comment about caching files that have been unzipped.

This commit is contained in:
Mike Auty
2017-11-06 00:48:33 +00:00
parent 3a215c185e
commit adfc1f889a
+1
View File
@@ -40,6 +40,7 @@ class ResourceAccessor(object):
parsed_url = urllib.parse.urlparse(url)
if parsed_url.scheme == 'file':
# ZipExtFiles (files in zips) cannot seek, so must be cached in order to use and/or decompress
curfile = urllib.request.urlopen(url, context = self._context)
else:
# TODO: find a way to check if we already have this file (look at http headers?)