diff --git a/src/Mod/AddonManager/addonmanager_workers.py b/src/Mod/AddonManager/addonmanager_workers.py index b1919a11f9..d768be959c 100644 --- a/src/Mod/AddonManager/addonmanager_workers.py +++ b/src/Mod/AddonManager/addonmanager_workers.py @@ -1219,14 +1219,14 @@ class InstallWorkbenchWorker(QtCore.QThread): # NOTE: There is no way to interrupt this process in GitPython: someday we should # support pygit2/libgit2 so we can actually interrupt this properly. repo = git.Repo.clone_from(self.repo.url, clonedir, progress=self.git_progress) - if current_thread.isInterruptRequested(): + if current_thread.isInterruptionRequested(): return # Make sure to clone all the submodules as well if repo.submodules: repo.submodule_update(recursive=True) - if current_thread.isInterruptRequested(): + if current_thread.isInterruptionRequested(): return if self.repo.branch in repo.heads: