We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1fe1b2 commit 2bdc921Copy full SHA for 2bdc921
AWSscripts/SQS3script.py
@@ -55,8 +55,9 @@
55
bucket=''
56
57
credentials_name = admin if admin else "default"
58
+home = os.path.expanduser("~")
59
-with open(os.environ['HOME'] + '/.aws/credentials') as f:
60
+with open(home+ '/.aws/credentials') as f:
61
for line in f:
62
if credentials_name in line:
63
0 commit comments