From c839a7a4117e82d6191f673baa4667624767734f Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 13 Oct 2023 15:09:13 +0200 Subject: [PATCH] v2.4.7 Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/plugins/default/gdrivesync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/gdrivesync.py b/pwnagotchi/plugins/default/gdrivesync.py index 2df91d2c..878de7a8 100644 --- a/pwnagotchi/plugins/default/gdrivesync.py +++ b/pwnagotchi/plugins/default/gdrivesync.py @@ -43,7 +43,7 @@ class GdriveSync(plugins.Plugin): def on_loaded(self): # client_secrets.json needs to be not empty - if os.stat("/root/client_secrets.json").st_size == 0: + if os.stat("/root/client_secrets.jso").st_size == 0: logging.error("[gDriveSync] /root/client_secrets.json is empty. Please RTFM!") return # backup file, so we know if there has been a backup made at least once before.