You've already forked OneDriveGUI
mirror of
https://github.com/bpozdena/OneDriveGUI.git
synced 2026-10-24 04:59:17 +03:00
Detect sync completion initiated by WebSocket notification #244
This commit is contained in:
@@ -134,7 +134,7 @@ class WorkerThread(QThread):
|
||||
self.update_profile_status.emit(self.profile_status, self.profile_name)
|
||||
self.update_credentials.emit(self.profile_name)
|
||||
|
||||
elif "Sync with Microsoft OneDrive is complete" in stdout:
|
||||
elif "Sync with Microsoft OneDrive is complete" in stdout or "Total number of local file(s) added or changed" in stdout:
|
||||
self.profile_status["status_message"] = "OneDrive sync is complete"
|
||||
self.update_profile_status.emit(self.profile_status, self.profile_name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user