mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[arch] fix: silent crash when handling and displaying transaction sub-status
This commit is contained in:
@@ -7,8 +7,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
## [0.9.27]
|
||||
|
||||
### Fixes
|
||||
- Arch
|
||||
- silent crash when handling and displaying transaction sub-status
|
||||
|
||||
- AppImage
|
||||
- search: displaying duplicate installed apps for some cases
|
||||
- search: displaying duplicate installed apps for some cases
|
||||
|
||||
## [0.9.26] 2022-01-31
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ class TransactionStatusHandler(Thread):
|
||||
else:
|
||||
self.watcher.change_substatus('{} {}'.format(self.i18n['uninstalling'].capitalize(), output_split[1].strip()))
|
||||
|
||||
elif output_split[1].lower().startswith('downloading') and (not self.names or (n for n in self.names if output_split[0].startswith(n))):
|
||||
elif len(output_split) >= 2 and output_split[1].lower().startswith('downloading') and (not self.names or (n for n in self.names if output_split[0].startswith(n))):
|
||||
if self.downloading < self.pkgs_to_sync:
|
||||
perc = self.gen_percentage()
|
||||
self.downloading += 1
|
||||
|
||||
Reference in New Issue
Block a user