mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2025-03-01 13:57:10 +00:00
commit
7475188b96
1 changed files with 3 additions and 2 deletions
|
@ -54,8 +54,9 @@ if operating_system == "posix":
|
|||
# create the set variables
|
||||
os.makedirs(setdir)
|
||||
# if for some reason it failed to pull the path
|
||||
if not os.path.isdir("~/.set/"):
|
||||
os.makedirs("~/.set/")
|
||||
userdir = os.path.join(os.path.expanduser('~'), '.set')
|
||||
if not os.path.isdir(userdir):
|
||||
os.makedirs(userdir)
|
||||
|
||||
|
||||
if not os.path.isdir(setdir + "/reports/"):
|
||||
|
|
Loading…
Add table
Reference in a new issue