Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush-Goel-04 committed Oct 10, 2023
1 parent bc16533 commit 23ecb24
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion capa/rules/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ def translate_com_feature(com_name: str, com_type: str) -> ceng.Or:

CD = Path(__file__).resolve().parent.parent.parent
com_db_path = CD / VALID_COM_TYPES[com_type]["db_path"]
logger.error(f"Path {CD} and {com_db_path} exits")
if not com_db_path.exists():
logger.error("Using COM %s database '%s', but it doesn't exist", com_type, com_db_path)
raise IOError(f"COM database path '{com_db_path}' does not exist or cannot be accessed")
Expand Down

0 comments on commit 23ecb24

Please sign in to comment.