From 4c7da1133136b643a2865005442ab51b010cfac1 Mon Sep 17 00:00:00 2001 From: Louis-Philippe Huberdeau Date: Wed, 19 Jul 2017 14:46:36 -0400 Subject: [PATCH] Make sure the comment is not set to None --- lib/utils/har.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/har.py b/lib/utils/har.py index a148ea7a0..5b0111711 100644 --- a/lib/utils/har.py +++ b/lib/utils/har.py @@ -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)