1
0
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:
Boris Pozdena
2025-10-02 12:38:15 +02:00
parent 760b2c6b81
commit 7456e62fa7

View File

@@ -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)