From 83c0c3fabd2372e59020d99b4dc4be6244cb0f65 Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Thu, 19 May 2016 23:14:17 +0200 Subject: [PATCH] fix progress bar --- update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.py b/update.py index c4a457d..a10d6ea 100644 --- a/update.py +++ b/update.py @@ -50,13 +50,13 @@ def fetch_modules(config, relative_path, download_directory): for t in config['modules']: for k, v in t.items(): - i += 1 d = to_d(v) for _k, _v in to_d(v).items(): cleaned_config[_k] = flat_add(cleaned_config[_k], _v) # fetch sources and parse them for src in to_l(d['source']): + i += 1 # we download the file module_name = os.path.basename(src)