summaryrefslogtreecommitdiff
path: root/src/verbs/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/verbs/install.py')
-rw-r--r--src/verbs/install.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/verbs/install.py b/src/verbs/install.py
index d5bb834..d801b79 100644
--- a/src/verbs/install.py
+++ b/src/verbs/install.py
@@ -373,11 +373,12 @@ def install_multiple(to_install, args, options, config, terminology=("install",
if package_path == "":
print(colors.RED + f"Failed to download {package}")
- downloaded += size
+ else:
+ downloaded += size
- pkg_files.append(
- (package, package_path, sources[source], key, repo, info)
- )
+ pkg_files.append(
+ (package, package_path, sources[source], key, repo, info)
+ )
util.loading_bar(int(length/divisor), int(length/divisor), "Downloaded packages", unit=unit)
print(colors.RESET)