mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-04 03:37:17 +00:00
Fix encoding import crash.
This commit is contained in:
parent
1ff6a767d0
commit
bb6ec29b18
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue