thejagstudio commited on
Commit
bd59a6f
1 Parent(s): 1ac2b49

Update home/views.py

Browse files
Files changed (1) hide show
  1. home/views.py +1 -10
home/views.py CHANGED
@@ -18,16 +18,7 @@ import geocoder
18
  import folium
19
 
20
  gauth = GoogleAuth()
21
-
22
- if gauth.credentials is None:
23
- # Authenticate if they're not there
24
- gauth.LocalWebserverAuth()
25
- elif gauth.access_token_expired:
26
- # Refresh them if expired
27
- gauth.Refresh()
28
- else:
29
- # Initialize the saved creds
30
- gauth.Authorize()
31
  DRIVE = GoogleDrive(gauth)
32
 
33
 
 
18
  import folium
19
 
20
  gauth = GoogleAuth()
21
+ print(gauth.GetAuthUrl())
 
 
 
 
 
 
 
 
 
22
  DRIVE = GoogleDrive(gauth)
23
 
24