Skip to content

Commit

Permalink
feat: reduced dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Meet Soni <[email protected]>
  • Loading branch information
inosmeet committed Aug 14, 2024
1 parent dcc3422 commit 0cc17ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mismatch/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
import os
import sqlite3

from cve_bin_tool.cvedb import DBNAME, DISK_LOCATION_DEFAULT
from cve_bin_tool.mismatch_loader import run_mismatch_loader

DBNAME = "cve.db"
DISK_LOCATION_DEFAULT = Path("~").expanduser() / ".cache" / "cve-bin-tool"
parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
data_dir = os.path.join(parent_dir, "data")
dbpath = DISK_LOCATION_DEFAULT / DBNAME
Expand Down

0 comments on commit 0cc17ae

Please sign in to comment.