From 80ee8c84db9598bafbc966d79bb918c4ad770292 Mon Sep 17 00:00:00 2001 From: Soham Banerjee Date: Thu, 8 Jul 2021 11:21:10 +0530 Subject: [PATCH] updated --- certbot-dns-google/certbot_dns_google/_internal/dns_google.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot-dns-google/certbot_dns_google/_internal/dns_google.py b/certbot-dns-google/certbot_dns_google/_internal/dns_google.py index fd69abc2c..57106f1da 100644 --- a/certbot-dns-google/certbot_dns_google/_internal/dns_google.py +++ b/certbot-dns-google/certbot_dns_google/_internal/dns_google.py @@ -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: