mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 00:04:15 +02:00
[arch] fix -> some operations are keeping the wrong substatus during specific scenarios
This commit is contained in:
@@ -101,11 +101,11 @@ class TransactionStatusHandler(Thread):
|
||||
else:
|
||||
performed = self.get_performed()
|
||||
|
||||
if performed == 0 and self.downloading > 0:
|
||||
self.watcher.change_substatus('')
|
||||
elif performed == self.pkgs_to_sync:
|
||||
if performed == self.pkgs_to_sync:
|
||||
self.watcher.change_substatus(self.i18n['finishing'].capitalize())
|
||||
return False
|
||||
else:
|
||||
self.watcher.change_substatus('')
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user