From d8a3d133da5d69c7d72d06c36fb3d93a636a4493 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Sun, 15 Oct 2023 22:02:03 +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 8416e324..3655dbdc 100644 --- a/pwnagotchi/plugins/default/gdrivesync.py +++ b/pwnagotchi/plugins/default/gdrivesync.py @@ -84,9 +84,6 @@ class GdriveSync(plugins.Plugin): # Specify the local backup path local_backup_path = '/' - # Create the local backup directory if it doesn't exist - os.makedirs(local_backup_path, exist_ok=True) - # Download the zip archive from Google Drive zip_file_id = self.get_latest_backup_file_id(self.options['backup_folder']) if zip_file_id: