mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
updated
This commit is contained in:
parent
d6b4c8f294
commit
80ee8c84db
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ class _GoogleClient:
|
|||
scopes = ['https://www.googleapis.com/auth/ndev.clouddns.readwrite']
|
||||
if account_json is not None:
|
||||
try:
|
||||
credentials = Credentials.from_service_account_file('service-account.json',scopes)
|
||||
credentials = Credentials.from_service_account_file(account_json, scopes)
|
||||
with open(account_json) as account:
|
||||
self.project_id = json.load(account)['project_id']
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Reference in a new issue