Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4c7da11

Browse files
author
Louis-Philippe Huberdeau
committed
Make sure the comment is not set to None
1 parent e21f677 commit 4c7da11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils/har.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def __init__(self, httpVersion, status, statusText, headers, content, raw=None,
142142
@classmethod
143143
def parse(cls, raw):
144144
altered = raw
145-
comment = None
145+
comment = ""
146146

147147
if altered.startswith("HTTP response ["):
148148
io = StringIO.StringIO(raw)

0 commit comments

Comments
 (0)