Make sure the comment is not set to None

This commit is contained in:
Louis-Philippe Huberdeau
2017-07-19 14:46:36 -04:00
parent e21f67715c
commit 4c7da11331
+1 -1
View File
@@ -142,7 +142,7 @@ class Response:
@classmethod
def parse(cls, raw):
altered = raw
comment = None
comment = ""
if altered.startswith("HTTP response ["):
io = StringIO.StringIO(raw)