Fix for an Issue #114

This commit is contained in:
Miroslav Stampar 2012-07-21 23:31:36 +02:00
parent 0a4b6431a8
commit 1b6cb9442f

View File

@ -865,7 +865,7 @@ def checkFile(filename):
Checks for file existence Checks for file existence
""" """
if not os.path.exists(filename): if not os.path.isfile(filename):
raise sqlmapFilePathException, "unable to read file '%s'" % filename raise sqlmapFilePathException, "unable to read file '%s'" % filename
def banner(): def banner():