Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhu Subramanian committed Nov 10, 2022
1 parent 73c38a2 commit 88f395f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="appthreat-vulnerability-db",
version="2.0.8",
version="2.0.9",
author="Team AppThreat",
author_email="[email protected]",
description="AppThreat's vulnerability database and package search library with a built-in file based storage. OSV, CVE, GitHub, npm are the primary sources of vulnerabilities.",
Expand Down
2 changes: 0 additions & 2 deletions vdb/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,6 @@ def normalise_version_str(version_num, normal_len):
>>> normalise_version_str(1.0.0, 4)
1.0.0.0
"""
if checkHex(version_num):
return version_num
version_num_parts = len(version_num.split("."))
if version_num_parts < normal_len:
for i in range(version_num_parts, normal_len):
Expand Down

0 comments on commit 88f395f

Please sign in to comment.