Browse Source

fixed issue with accessing home dir

pull/379/head
Basir Jamil 7 years ago
parent
commit
3d61baea50
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      octodns/provider/fastdns.py

+ 4
- 1
octodns/provider/fastdns.py 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')


Loading…
Cancel
Save