mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Minor bug fix
This commit is contained in:
parent
0a83a830d9
commit
a777d59870
|
@ -571,6 +571,9 @@ def checkFile(filename):
|
||||||
raise sqlmapFilePathException, "unable to read file '%s'" % filename
|
raise sqlmapFilePathException, "unable to read file '%s'" % filename
|
||||||
|
|
||||||
def replaceNewlineTabs(inpStr, stdout=False):
|
def replaceNewlineTabs(inpStr, stdout=False):
|
||||||
|
if inpStr is None:
|
||||||
|
return
|
||||||
|
|
||||||
if stdout:
|
if stdout:
|
||||||
replacedString = inpStr.replace("\n", " ").replace("\t", " ")
|
replacedString = inpStr.replace("\n", " ").replace("\t", " ")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user