From 59c5d02db3d7de0a22a81c366cce7c333dc18b58 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Sun, 15 Oct 2023 19:58:53 +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 50c25737..7193c14b 100644 --- a/pwnagotchi/plugins/default/gdrivesync.py +++ b/pwnagotchi/plugins/default/gdrivesync.py @@ -217,7 +217,7 @@ class GdriveSync(plugins.Plugin): zip_file = self.drive.CreateFile({'title': 'backup.zip', 'parents': [{'id': gdrive_folder}]}) # Set the content of the file to the zip file - zip_file.SetContentFile(backup_path) + zip_file.SetContentFile(os.path.join(backup_path, 'backup.zip')) # Upload the file to Google Drive zip_file.Upload()