Skip to content

Commit

Permalink
fix/cache: use profile specified from AWS_PROFILE instead of the defa…
Browse files Browse the repository at this point in the history
…ult one
  • Loading branch information
AndreZiviani committed Feb 27, 2020
1 parent db75fb2 commit 1a2b561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws_fuzzy_finder/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
CACHE_ENABLED = os.getenv('AWS_FUZZ_USE_CACHE', False)
AWS_DEFAULT_PROFILE=os.getenv('AWS_DEFAULT_PROFILE', 'default')
CACHE_DIR = '{}/{}'.format(expanduser("~"), '.aws_fuzzy_finder_cache')
CACHE_PATH = '{}/{}'.format(CACHE_DIR, AWS_DEFAULT_PROFILE)
CACHE_PATH = '{}/{}'.format(CACHE_DIR, os.getenv('AWS_PROFILE', AWS_DEFAULT_PROFILE))

fzf_base = 'fzf-0.17.0'
is_64_bit = sys.maxsize > 2**32
Expand Down

0 comments on commit 1a2b561

Please sign in to comment.