diff --git a/octodns/provider/fastdns.py b/octodns/provider/fastdns.py index e8fb35c..1ce91d0 100644 --- a/octodns/provider/fastdns.py +++ b/octodns/provider/fastdns.py @@ -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')