mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +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 cStringIO
|
||||
import urwid
|
||||
import controller, utils, filt, proxy, flow
|
||||
import controller, utils, filt, proxy, flow, encoding
|
||||
|
||||
VIEW_CUTOFF = 1024*100
|
||||
EVENTLOG_SIZE = 500
|
||||
@ -868,6 +868,7 @@ class Options(object):
|
||||
|
||||
|
||||
#begin nocover
|
||||
|
||||
class BodyPile(urwid.Pile):
|
||||
def __init__(self, master):
|
||||
h = urwid.Text("Event log")
|
||||
|
Loading…
Reference in New Issue
Block a user