From 679c97ec3e74e879c3d2730b4f1b396a7df34b21 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 27 Feb 2016 02:13:26 +0100 Subject: [PATCH] fix #966 --- mitmproxy/console/flowdetailview.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mitmproxy/console/flowdetailview.py b/mitmproxy/console/flowdetailview.py index f4b4262e6..757c76fda 100644 --- a/mitmproxy/console/flowdetailview.py +++ b/mitmproxy/console/flowdetailview.py @@ -22,7 +22,7 @@ def flowdetails(state, flow): if sc is not None: text.append(urwid.Text([("head", "Server Connection:")])) parts = [ - ["Address", "%s:%s" % sc.address()], + ["Address", repr(sc.address)], ] text.extend( @@ -79,8 +79,7 @@ def flowdetails(state, flow): text.append(urwid.Text([("head", "Client Connection:")])) parts = [ - ["Address", "%s:%s" % cc.address()], - # ["Requests", "%s"%cc.requestcount], + ["Address", repr(cc.address)], ] text.extend(