From e30dc650333548d05f8e681d2a1c28ed5e407d9a Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Sat, 6 Jun 2020 18:33:47 -0300 Subject: [PATCH] [fix][arch] substatus handler conditions --- bauh/gems/arch/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bauh/gems/arch/output.py b/bauh/gems/arch/output.py index 24c78741..76887fdc 100644 --- a/bauh/gems/arch/output.py +++ b/bauh/gems/arch/output.py @@ -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