Fix encoding import crash.

This commit is contained in:
Aldo Cortesi 2011-08-02 16:55:54 +12:00
parent 1ff6a767d0
commit bb6ec29b18

View File

@ -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")