mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Fix for an Issue #884
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user