mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-08 01:13:17 +01:00
Minor bug fix
This commit is contained in:
parent
0a83a830d9
commit
a777d59870
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue