mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -52,9 +52,10 @@ class GdriveSync(plugins.Plugin):
|
||||
|
||||
try:
|
||||
gauth = GoogleAuth(settings_file="/root/settings.yaml")
|
||||
gauth = gauth.LoadCredentialsFile("/root/credentials.json")
|
||||
gauth.LoadCredentialsFile("/root/credentials.json")
|
||||
gauth.Authorize()
|
||||
|
||||
|
||||
# Create GoogleDrive instance
|
||||
self.drive = GoogleDrive(gauth)
|
||||
|
||||
|
Reference in New Issue
Block a user