mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -68,7 +68,7 @@ def refresh():
|
|||||||
gauth = GoogleAuth(settings_file="settings.yaml")
|
gauth = GoogleAuth(settings_file="settings.yaml")
|
||||||
try:
|
try:
|
||||||
# Try to load saved client credentials
|
# Try to load saved client credentials
|
||||||
gauth.LoadCredentialsFile("credentials.json")
|
gauth.LoadCredentialsFile("/root/credentials.json")
|
||||||
except pydrive2.auth.InvalidCredentialsError:
|
except pydrive2.auth.InvalidCredentialsError:
|
||||||
print(gauth.GetAuthUrl())
|
print(gauth.GetAuthUrl())
|
||||||
user_input = input("Please copy this URL into a browser, "
|
user_input = input("Please copy this URL into a browser, "
|
||||||
|
Reference in New Issue
Block a user