Skip to content

Commit

Permalink
Added check for empty version string
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniket Singh Rawat committed Nov 6, 2023
1 parent 3798257 commit b82b461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retriever/lib/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def check_retriever_minimum_version(module):
m = module.name

if hasattr(module, "retriever_minimum_version"):
if not parse_version(VERSION) >= parse_version("{}".format(mod_ver)):
if mod_ver != "" and 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))
Expand Down

0 comments on commit b82b461

Please sign in to comment.