Skip to content

Commit

Permalink
Issue #415: Added code to access parent directory for fixing import e…
Browse files Browse the repository at this point in the history
…rror for core.py

Fixed Import Error: Issue #415
  • Loading branch information
Harsh0707005 committed Sep 13, 2023
1 parent f5aff55 commit cd25c26
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/forensic_tools.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# coding=utf-8
import os

import sys

# Fetching parent directory for importing core.py
current_dir = os.path.dirname(__file__)
parent_dir = os.path.dirname(current_dir)
sys.path.append(parent_dir)

from core import HackingTool
from core import HackingToolsCollection

Expand Down

0 comments on commit cd25c26

Please sign in to comment.