Skip to content

Commit

Permalink
Remove ".upper()" on os path
Browse files Browse the repository at this point in the history
  • Loading branch information
CarelFdeWaal committed Mar 22, 2023
1 parent 04dd5cc commit 4e545b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def delete(self, key):

def get_cache(**kw):
mode = os.getenv('CACHE_MODE','').upper()
path = os.getenv('CACHE_PATH','').upper()
path = os.getenv('CACHE_PATH','')
if mode == 'DISK':
return DiskCache(path)
elif mode == 'S3':
Expand Down

0 comments on commit 4e545b8

Please sign in to comment.