You've already forked hackingtool
mirror of
https://github.com/Z4nzu/hackingtool.git
synced 2025-06-20 06:15:54 +02:00
Merge pull request #416 from Harsh0707005/Harsh0707005-#415
Issue #415: Added code to access parent directory for fixing import error for core.py
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user