IAMTFRMZA commited on
Commit
cf4a816
·
verified ·
1 Parent(s): a253683

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -7,14 +7,15 @@ from oauth2client.service_account import ServiceAccountCredentials
7
  # ------------------ AUTH ------------------
8
  VALID_USERS = {
9
  "[email protected]": "Pass.123",
10
- "phonnie@carfind.co.za": "Pass.123",
11
- "monique@carfind.co.za": "Pass.123"
 
12
  }
13
 
14
  # ------------------ GOOGLE SHEET SETUP ------------------
15
  scope = ["https://spreadsheets.google.com/feeds", "https://www.googleapis.com/auth/drive"]
16
  creds = ServiceAccountCredentials.from_json_keyfile_name("bid4carsappsheetdash.json", scope)
17
- client = gspread.authorize(creds)
18
  sheet_url = "https://docs.google.com/spreadsheets/d/1eUXhcfWd3jtNmZC6U_Dr2F7obQcK81I4YrK-fKEbkyU"
19
 
20
  # ------------------ DATA REFRESH FUNCTION ------------------
 
7
  # ------------------ AUTH ------------------
8
  VALID_USERS = {
9
  "[email protected]": "Pass.123",
10
+ "donovanm@bid4cars.co.za": "Pass.123",
11
+ "grant@bid4cars.co.za": "Pass.123",
12
+ "[email protected]": "Pass.123"
13
  }
14
 
15
  # ------------------ GOOGLE SHEET SETUP ------------------
16
  scope = ["https://spreadsheets.google.com/feeds", "https://www.googleapis.com/auth/drive"]
17
  creds = ServiceAccountCredentials.from_json_keyfile_name("bid4carsappsheetdash.json", scope)
18
+ client = gspread.[email protected](creds)
19
  sheet_url = "https://docs.google.com/spreadsheets/d/1eUXhcfWd3jtNmZC6U_Dr2F7obQcK81I4YrK-fKEbkyU"
20
 
21
  # ------------------ DATA REFRESH FUNCTION ------------------