From 12e184df9672eae4965730f7919f0f67a4d2652d Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 13 Oct 2023 09:14:19 +0200 Subject: [PATCH] v2.4.7 Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/plugins/default/gdrivesync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/gdrivesync.py b/pwnagotchi/plugins/default/gdrivesync.py index 2485468a..eca516a7 100644 --- a/pwnagotchi/plugins/default/gdrivesync.py +++ b/pwnagotchi/plugins/default/gdrivesync.py @@ -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)