[arch] fix -> some operations are keeping the wrong substatus during specific scenarios

This commit is contained in:
Vinicius Moreira
2020-12-19 09:45:38 -03:00
parent e46821c4ef
commit 0fc00f752e
2 changed files with 5 additions and 4 deletions

View File

@@ -18,7 +18,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixes
- AppImage
- some installed applications cannot be launched by their desktop entries (regression from **0.9.10**) [#155](https://github.com/vinifmor/bauh/issues/155). If any of your installed AppImages are affected by this issue, just reinstall them.
- Arch
- some operations are keeping the wrong substatus during specific scenarios
- Flatpak
- crashing for Flatpak 1.6.5 when there are updates [#145](https://github.com/vinifmor/bauh/issues/145)

View File

@@ -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