Skip to content

Commit

Permalink
Merge pull request #39 from AndreZiviani/fix/cache
Browse files Browse the repository at this point in the history
fix/cache: use profile specified from AWS_PROFILE instead of the default one
  • Loading branch information
rszalski authored Feb 29, 2020
2 parents db75fb2 + 1a2b561 commit 32fc162
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 32fc162

Please sign in to comment.