mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -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()
|
||||
|
Reference in New Issue
Block a user