将进度101状态过滤出去
This commit is contained in:
parent
cc2c22e854
commit
8f1e858edf
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue