mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[fix][arch] substatus handler conditions
This commit is contained in:
@@ -53,7 +53,7 @@ class TransactionStatusHandler(Thread):
|
||||
else:
|
||||
self.watcher.change_substatus('{} {}'.format(self.i18n['uninstalling'].capitalize(), output.split(' ')[1].strip()))
|
||||
|
||||
if output.startswith('downloading'):
|
||||
elif output.startswith('downloading'):
|
||||
if self.downloading < self.pkgs_to_sync:
|
||||
perc = self.gen_percentage()
|
||||
self.downloading += 1
|
||||
|
||||
Reference in New Issue
Block a user