将进度101状态过滤出去

This commit is contained in:
wangsong 2021-09-23 11:38:23 +08:00
parent cc2c22e854
commit 8f1e858edf
1 changed files with 3 additions and 0 deletions

View File

@ -80,6 +80,9 @@ class InstallBackendAptdaemon(InstallBackend):
#进度回调
def _on_progress_changed(self, trans,progress,action):
if progress == 101:
return
self.trans_progress = progress
if action == self.ACTION_UPDATE:
self.window_main.dbusController.UpdateDetectStatusChanged(self.trans_progress,self.trans_status)