mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 16:17:49 +00:00
Remove cruft to work around an old Urwid bug
This commit is contained in:
parent
558e0a41c2
commit
241530eb0a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user