Skip to content

Commit

Permalink
experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
cransom committed Apr 5, 2024
1 parent 3e2bca2 commit d4867a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zinc/storages/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get(self, subpath):
t = TemporaryFile(mode='w+b')
cache_location = os.environ.get('ZINC_CACHE')
if cache_location and exists(os.path.join(cache_location, keyname)):
t = file.open(os.path.join(cache_location,keyname), 'rb')
t = open(os.path.join(cache_location,keyname), 'rb')
else:
self._bucket.download_fileobj(keyname, t)
if t.tell() == 0:
Expand Down

0 comments on commit d4867a0

Please sign in to comment.