Minor bug fix

This commit is contained in:
Bernardo Damele 2010-11-12 15:17:12 +00:00
parent 0a83a830d9
commit a777d59870

View File

@ -571,6 +571,9 @@ def checkFile(filename):
raise sqlmapFilePathException, "unable to read file '%s'" % filename
def replaceNewlineTabs(inpStr, stdout=False):
if inpStr is None:
return
if stdout:
replacedString = inpStr.replace("\n", " ").replace("\t", " ")
else: