brightfastwork commited on
Commit
694ac1d
·
1 Parent(s): f86a3bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,9 +1,8 @@
1
  #!/usr/bin/env python
2
  # coding: utf-8
3
  import os
4
- print(os.environ["pyg_secret"])
5
  import pygsheets
6
- gc = pygsheets.authorize(os.environ["pyg_secret"].get('client_secret'))
7
  # ## Import Libs
8
 
9
  # In[54]:
 
1
  #!/usr/bin/env python
2
  # coding: utf-8
3
  import os
 
4
  import pygsheets
5
+ gc = pygsheets.authorize(service_account_env_var = 'py_api')
6
  # ## Import Libs
7
 
8
  # In[54]: