From 90587cf998b6041fa19fc7d31b34643c80637973 Mon Sep 17 00:00:00 2001 From: Shadab Zafar Date: Fri, 11 Mar 2016 17:36:04 +0530 Subject: [PATCH] Fix missing cookie import --- mitmproxy/console/grideditor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mitmproxy/console/grideditor.py b/mitmproxy/console/grideditor.py index a11c962c6..597a7e7a9 100644 --- a/mitmproxy/console/grideditor.py +++ b/mitmproxy/console/grideditor.py @@ -6,7 +6,7 @@ import os import urwid from netlib import odict -from netlib.http import user_agents +from netlib.http import user_agents, cookies from . import common, signals from .. import utils, filt, script @@ -69,7 +69,7 @@ class SubgridColumn: self.subeditor = subeditor def text(self, obj): - p = http_cookies._format_pairs(obj, sep="\n") + p = cookies._format_pairs(obj, sep="\n") return urwid.Text(p) def blank(self):