diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-03-20 11:03:46 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-03-20 11:03:46 +1300 |
commit | 241530eb0aa69c5a69bed979a1a2a3a23d473112 (patch) | |
tree | e32106f9e9e5579ae51beee0084d93e6c477659a | |
parent | 558e0a41c25ed927a3bd3244e82e50f2c1ec9f1c (diff) | |
download | mitmproxy-241530eb0aa69c5a69bed979a1a2a3a23d473112.tar.gz mitmproxy-241530eb0aa69c5a69bed979a1a2a3a23d473112.tar.bz2 mitmproxy-241530eb0aa69c5a69bed979a1a2a3a23d473112.zip |
Remove cruft to work around an old Urwid bug
-rw-r--r-- | libmproxy/console/__init__.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 5ff8e8d7..f3c8ee12 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -36,11 +36,6 @@ class ActionBar(urwid.WidgetWrap): def prompt(self, prompt, text = ""): self.expire = None - # A (partial) workaround for this Urwid issue: - # https://github.com/Nic0/tyrs/issues/115 - # We can remove it once veryone is beyond 1.0.1 - if isinstance(prompt, basestring): - prompt = unicode(prompt) self._w = urwid.Edit(prompt, text or "") def message(self, message, expire=None): |