jamescalam commited on
Commit
3f30e0e
1 Parent(s): 83798fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ G_API = {
20
  "auth_provider_x509_cert_url": os.environ["auth_provider_x509_cert_url"],
21
  "client_x509_cert_url": os.environ["client_x509_cert_url"]
22
  }
23
- with open('cloud-storage.json', 'w', encoding='utf-8') as fp:
24
- fp.write(json.dumps(G_API))
25
  del G_API
26
  # connect to Cloud Storage
27
  os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = 'cloud-storage.json'
 
20
  "auth_provider_x509_cert_url": os.environ["auth_provider_x509_cert_url"],
21
  "client_x509_cert_url": os.environ["client_x509_cert_url"]
22
  }
23
+ with open('cloud-storage.json', 'w') as fp:
24
+ fp.write(json.dumps(G_API, indent=4))
25
  del G_API
26
  # connect to Cloud Storage
27
  os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = 'cloud-storage.json'