File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 24
24
print ("[!] Cannot read or write to and from {}" .format (skyhookConfig .tmpDir ))
25
25
exit ()
26
26
27
- if not os .path .isdir (skyhookConfig .tmpDir ):
28
- try :
29
- os .makedirs (skyhookConfig .tmpDir , exist_ok = True )
30
- except :
31
- print ("[!] Could not create temporary directory {}" .format (skyhookConfig .tmpDir ))
32
- exit ()
33
-
34
27
if not hasattr (skyhookConfig , 'skyhookDir' ):
35
28
print ("[!] Skyhook directory is not defined\n Please modify {}" .format (skyhookConfig .__file__ ))
36
29
exit ()
46
39
if not (os .access (skyhookConfig .skyhookDir , os .W_OK ) and os .access (skyhookConfig .skyhookDir , os .R_OK )):
47
40
print ("[!] Cannot read or write to and from {}" .format (skyhookConfig .skyhookDir ))
48
41
exit ()
49
-
50
- if not os .path .isdir (skyhookConfig .skyhookDir ):
51
- try :
52
- os .makedirs (skyhookConfig .skyhookDir , exist_ok = True )
53
- except :
54
- print ("[!] Could not create Skyhook directory {}" .format (skyhookConfig .skyhookDir ))
55
- exit ()
You can’t perform that action at this time.
0 commit comments