1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

fixed issue with accessing home dir

This commit is contained in:
Basir Jamil
2019-06-06 15:00:04 -04:00
parent f219153088
commit 3d61baea50

View File

@@ -86,7 +86,10 @@ class AkamaiProvider(BaseProvider):
#### create credential file, and write credentials to it
with open('~/.edgerc', 'a') as credFile:
home = expanduser("~")
filename = "%s/.edgerc" % home
with open(filename, 'a') as credFile:
credFile.write('[dns]\n')