mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-12-02 12:01:17 +00:00
Fix encoding import crash.
This commit is contained in:
parent
1ff6a767d0
commit
bb6ec29b18
@ -17,7 +17,7 @@ import mailcap, mimetypes, tempfile, os, subprocess, glob, time
|
|||||||
import os.path, sys
|
import os.path, sys
|
||||||
import cStringIO
|
import cStringIO
|
||||||
import urwid
|
import urwid
|
||||||
import controller, utils, filt, proxy, flow
|
import controller, utils, filt, proxy, flow, encoding
|
||||||
|
|
||||||
VIEW_CUTOFF = 1024*100
|
VIEW_CUTOFF = 1024*100
|
||||||
EVENTLOG_SIZE = 500
|
EVENTLOG_SIZE = 500
|
||||||
@ -868,6 +868,7 @@ class Options(object):
|
|||||||
|
|
||||||
|
|
||||||
#begin nocover
|
#begin nocover
|
||||||
|
|
||||||
class BodyPile(urwid.Pile):
|
class BodyPile(urwid.Pile):
|
||||||
def __init__(self, master):
|
def __init__(self, master):
|
||||||
h = urwid.Text("Event log")
|
h = urwid.Text("Event log")
|
||||||
|
Loading…
Reference in New Issue
Block a user