Skip to content

Commit

Permalink
fix regression with expanduser
Browse files Browse the repository at this point in the history
  • Loading branch information
bitonio committed Feb 15, 2022
1 parent 10d1f4e commit d7ff593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/akamai-mfa
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class MFAConfig():
eventparser.add_argument("--noreceipt", default=False, action="store_true",
help="Discard the receipt attribute to save log space")

self.parser.add_argument("--edgerc", type=argparse.FileType('r'), default=os.path.expanduser("~/.edgerc"),
self.parser.add_argument("--edgerc", type=str, default="~/.edgerc",
help='Location of the credentials file (default is "~/.edgerc")')

self.parser.add_argument("--section", default="default", help="Section inside .edgerc, default is [default]")
Expand Down

0 comments on commit d7ff593

Please sign in to comment.