Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use expanduser to get home path - fix for windows #115

Merged
merged 1 commit into from May 9, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

use expanduser to get home path - fix for windows

  • Loading branch information
kevinegami committed May 9, 2018
commit 2bdc921c939d854eb378a6ca47fb646f5e96df5d
@@ -55,8 +55,9 @@
bucket=''

credentials_name = admin if admin else "default"
home = os.path.expanduser("~")

with open(os.environ['HOME'] + '/.aws/credentials') as f:
with open(home+ '/.aws/credentials') as f:
for line in f:
if credentials_name in line:
for line in f:
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.