From d5c914b19b546b0d8c7ef0b3c245fc283c186661 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 13 Oct 2023 18:18:57 +0200 Subject: [PATCH] v2.4.7 Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/plugins/default/gdrivesync.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pwnagotchi/plugins/default/gdrivesync.py b/pwnagotchi/plugins/default/gdrivesync.py index 793ab87d..93f096a9 100644 --- a/pwnagotchi/plugins/default/gdrivesync.py +++ b/pwnagotchi/plugins/default/gdrivesync.py @@ -61,13 +61,10 @@ class GdriveSync(plugins.Plugin): if not self.backup: # Use self.options['backup_folder'] as the folder ID where backups are stored backup_folder_id = self.get_folder_id_by_name(self.drive, self.options['backup_folder']) - logging.info("test1") if backup_folder_id is None: # If the folder doesn't exist, create it - logging.info("test2") folder = self.drive.CreateFile( {'title': self.options['backup_folder'], 'mimeType': 'application/vnd.google-apps.folder'}) - logging.info("test3") folder.Upload() backup_folder_id = folder['id'] print(f"Created folder '{self.options['backup_folder']}' with ID: {backup_folder_id}")