aboutsummaryrefslogtreecommitdiffstats
path: root/examples/har_dump.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/har_dump.py')
-rw-r--r--examples/har_dump.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/har_dump.py b/examples/har_dump.py
index ab7bf1e1..aeb154d2 100644
--- a/examples/har_dump.py
+++ b/examples/har_dump.py
@@ -145,7 +145,7 @@ def response(flow):
"params": params
}
- if flow.server_conn:
+ if flow.server_conn.connected():
entry["serverIPAddress"] = str(flow.server_conn.ip_address.address[0])
HAR["log"]["entries"].append(entry)