mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -174,6 +174,7 @@ class GdriveSync(plugins.Plugin):
|
|||||||
relative_filename = os.path.join(gdrive_folder, relative_path, filename)
|
relative_filename = os.path.join(gdrive_folder, relative_path, filename)
|
||||||
gdrive_file = self.drive.CreateFile({'title': relative_filename, 'parents': [{'id': folder['id']}]})
|
gdrive_file = self.drive.CreateFile({'title': relative_filename, 'parents': [{'id': folder['id']}]})
|
||||||
gdrive_file.Upload()
|
gdrive_file.Upload()
|
||||||
|
logging.info(f"[gDriveSync] Uploaded {file_path} to Google Drive")
|
||||||
uploaded_files_count += 1
|
uploaded_files_count += 1
|
||||||
|
|
||||||
# Print the number of uploaded files
|
# Print the number of uploaded files
|
||||||
|
Reference in New Issue
Block a user