From 3b6bb448e5bdc04acfec12428682506741ea1667 Mon Sep 17 00:00:00 2001 From: Aniket Singh Rawat Date: Tue, 7 Nov 2023 23:05:15 +0530 Subject: [PATCH] removed version condition --- retriever/lib/scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))