mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
Merge pull request #1022 from dufferzafar/fix-1018
Fix missing cookie import
This commit is contained in:
commit
e74e212a7a
@ -6,7 +6,7 @@ import os
|
|||||||
import urwid
|
import urwid
|
||||||
|
|
||||||
from netlib import odict
|
from netlib import odict
|
||||||
from netlib.http import user_agents
|
from netlib.http import user_agents, cookies
|
||||||
|
|
||||||
from . import common, signals
|
from . import common, signals
|
||||||
from .. import utils, filt, script
|
from .. import utils, filt, script
|
||||||
@ -69,7 +69,7 @@ class SubgridColumn:
|
|||||||
self.subeditor = subeditor
|
self.subeditor = subeditor
|
||||||
|
|
||||||
def text(self, obj):
|
def text(self, obj):
|
||||||
p = http_cookies._format_pairs(obj, sep="\n")
|
p = cookies._format_pairs(obj, sep="\n")
|
||||||
return urwid.Text(p)
|
return urwid.Text(p)
|
||||||
|
|
||||||
def blank(self):
|
def blank(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user