diff --git a/retriever/lib/scripts.py b/retriever/lib/scripts.py index 6a85bf823..61283f7c9 100644 --- a/retriever/lib/scripts.py +++ b/retriever/lib/scripts.py @@ -29,7 +29,7 @@ def check_retriever_minimum_version(module): m = module.name if hasattr(module, "retriever_minimum_version"): - if mod_ver != '' and not parse_version(VERSION) >= parse_version("{}".format(mod_ver)): + if not parse_version(VERSION) >= parse_version("{}".format(mod_ver)): print("{} is supported by Retriever version " "{}".format(m, mod_ver)) print("Current version is {}".format(VERSION))