mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-22 20:43:04 +00:00
fix path issue for local setoolkit
This commit is contained in:
parent
9fdd8356d9
commit
e26622c95a
1 changed files with 2 additions and 1 deletions
|
@ -16,13 +16,14 @@ except NameError:
|
|||
|
||||
try:
|
||||
reload
|
||||
|
||||
except NameError:
|
||||
from importlib import reload
|
||||
|
||||
|
||||
# check where we are and load default directory
|
||||
if os.path.isdir("/usr/share/setoolkit"):
|
||||
if not os.path.isfile("se-toolkit"):
|
||||
if not os.path.isfile("setoolkit"):
|
||||
os.chdir("/usr/share/setoolkit")
|
||||
sys.path.append("/usr/share/setoolkit")
|
||||
|
||||
|
|
Loading…
Reference in a new issue