elfsong commited on
Commit
55f36d8
1 Parent(s): a0f09fb
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from google.oauth2 import service_account
5
 
6
  def auth():
7
  with open("/tmp/token.json", "w") as token_f:
8
- google_key = os.getenv["GOOGLE_KEY"]
9
  token_f.write(google_key)
10
 
11
  credentials = service_account.Credentials.from_service_account_file('/tmp/token.json')
 
5
 
6
  def auth():
7
  with open("/tmp/token.json", "w") as token_f:
8
+ google_key = os.getenv("GOOGLE_KEY")
9
  token_f.write(google_key)
10
 
11
  credentials = service_account.Credentials.from_service_account_file('/tmp/token.json')