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:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user