mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-18 17:17:12 +02:00
remove file after sending to gdrive
This commit is contained in:
@@ -249,7 +249,9 @@ class IncScheduler():
|
||||
drive.files().create(body=file_metadata, media_body=media, fields='id').execute()
|
||||
|
||||
GDriveJobLogs(owner=items, status=backupSchedule.INFO,
|
||||
message='Backup for %s successfully sent to Googe Drive.' % (website.domain)).save()
|
||||
message='Backup for %s successfully sent to Google Drive.' % (website.domain)).save()
|
||||
|
||||
os.remove(completeFileToSend)
|
||||
|
||||
except BaseException as msg:
|
||||
GDriveJobLogs(owner=items, status=backupSchedule.ERROR,
|
||||
|
||||
Reference in New Issue
Block a user