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