From b9c343195bf988212e1e76151983c43a7cb6ba02 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Fri, 31 May 2024 19:30:29 +0530 Subject: [PATCH] typo --- scripts/check_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_modules.py b/scripts/check_modules.py index a5fc99be..12f80464 100644 --- a/scripts/check_modules.py +++ b/scripts/check_modules.py @@ -153,7 +153,7 @@ def update_modules(): curr_mod_version_str = version(mod_name) if curr_mod_version_str is None: _install(mod_name, mod_force_version_str) - else: + elif mod_force_version_str is not None: curr_mod_version = version_str_to_tuple(curr_mod_version_str) mod_force_version = version_str_to_tuple(mod_force_version_str)