mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 13:03:50 +03:00
Make sure the comment is not set to None
This commit is contained in:
parent
e21f67715c
commit
4c7da11331
|
@ -142,7 +142,7 @@ class Response:
|
||||||
@classmethod
|
@classmethod
|
||||||
def parse(cls, raw):
|
def parse(cls, raw):
|
||||||
altered = raw
|
altered = raw
|
||||||
comment = None
|
comment = ""
|
||||||
|
|
||||||
if altered.startswith("HTTP response ["):
|
if altered.startswith("HTTP response ["):
|
||||||
io = StringIO.StringIO(raw)
|
io = StringIO.StringIO(raw)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user