diff options
author | Shadab Zafar <dufferzafar0@gmail.com> | 2016-07-19 12:21:01 +0530 |
---|---|---|
committer | Shadab Zafar <dufferzafar0@gmail.com> | 2016-07-23 10:41:57 +0530 |
commit | 6fe36a5b7f84ab5695508032a97ac1b167c3be91 (patch) | |
tree | cdc8870a9697036f84dec365e42a515cf9773f81 | |
parent | 911c7a4f1b23120435b8d560d7e7638acf80b6b2 (diff) | |
download | mitmproxy-6fe36a5b7f84ab5695508032a97ac1b167c3be91.tar.gz mitmproxy-6fe36a5b7f84ab5695508032a97ac1b167c3be91.tar.bz2 mitmproxy-6fe36a5b7f84ab5695508032a97ac1b167c3be91.zip |
Fix display of mark status [m]
-rw-r--r-- | mitmproxy/console/common.py | 4 | ||||
-rw-r--r-- | mitmproxy/console/flowlist.py | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/mitmproxy/console/common.py b/mitmproxy/console/common.py index c7f87a8f..9fb8b5c9 100644 --- a/mitmproxy/console/common.py +++ b/mitmproxy/console/common.py @@ -410,7 +410,7 @@ def raw_format_flow(f, focus, extended): return urwid.Pile(pile) -def format_flow(f, focus, extended=False, hostheader=False, marked=False): +def format_flow(f, focus, extended=False, hostheader=False): d = dict( intercepted = f.intercepted, acked = f.reply.acked, @@ -423,7 +423,7 @@ def format_flow(f, focus, extended=False, hostheader=False, marked=False): err_msg = f.error.msg if f.error else None, - marked = marked, + marked = f.marked, ) if f.response: if f.response.raw_content: diff --git a/mitmproxy/console/flowlist.py b/mitmproxy/console/flowlist.py index a70aae20..39f334aa 100644 --- a/mitmproxy/console/flowlist.py +++ b/mitmproxy/console/flowlist.py @@ -120,7 +120,6 @@ class ConnectionItem(urwid.WidgetWrap): self.flow, self.f, hostheader = self.master.options.showhost, - marked=self.state.flow_marked(self.flow) ) def selectable(self): |