mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Fix for an Issue #884
This commit is contained in:
parent
0feb379b47
commit
38978c3e54
2 changed files with 3 additions and 1 deletions
|
|
@ -989,7 +989,7 @@ def checkFile(filename):
|
|||
Checks for file existence
|
||||
"""
|
||||
|
||||
if not os.path.isfile(filename):
|
||||
if filename is None or not os.path.isfile(filename):
|
||||
raise SqlmapFilePathException("unable to read file '%s'" % filename)
|
||||
|
||||
def banner():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue