Remove cruft to work around an old Urwid bug

This commit is contained in:
Aldo Cortesi 2015-03-20 11:03:46 +13:00
parent 558e0a41c2
commit 241530eb0a

View File

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