diff --git a/pmb/helpers/apk.py b/pmb/helpers/apk.py index 4ca4de93..c932cffe 100644 --- a/pmb/helpers/apk.py +++ b/pmb/helpers/apk.py @@ -124,7 +124,7 @@ def _compute_progress(line: str) -> float: """ if not line: return 1 - cur_tot = line.rstrip().split("/") + cur_tot = line.split(" ")[0].rstrip().split("/") if len(cur_tot) != 2: return 0 cur = float(cur_tot[0])