mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Extra comment for RestoreBackupJob
This commit is contained in:
parent
ebfad16508
commit
d11b3b0921
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class RestoreBackupJob(Job):
|
||||||
error_callback = self._onRestoreRequestCompleted
|
error_callback = self._onRestoreRequestCompleted
|
||||||
)
|
)
|
||||||
|
|
||||||
self._job_done.wait()
|
self._job_done.wait() # A job is considered finished when the run function completes
|
||||||
|
|
||||||
def _onRestoreRequestCompleted(self, reply: QNetworkReply, error: Optional["QNetworkReply.NetworkError"] = None):
|
def _onRestoreRequestCompleted(self, reply: QNetworkReply, error: Optional["QNetworkReply.NetworkError"] = None):
|
||||||
if not HttpRequestManager.replyIndicatesSuccess(reply, error):
|
if not HttpRequestManager.replyIndicatesSuccess(reply, error):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue