Cleanup the .help -> .help() transition.

This fixes a problem wherin gertty would crash on startup while trying to
display the welcome text.

Change-Id: I6a9d66c06a144f9cd5b30727bbcce571d13550b2
Closes-bug: 183
This commit is contained in:
Robbie Harwood (frozencemetery) 2014-08-04 18:16:40 -04:00
parent cfae35754c
commit c32ae60629

View File

@ -212,7 +212,7 @@ class App(object):
self.popup(dialog, min_width=76, min_height=len(lines)+4)
def welcome(self):
text = WELCOME_TEXT + self.loop.widget.help
text = WELCOME_TEXT + self.loop.widget.help()
dialog = mywid.MessageDialog('Welcome', text)
lines = text.split('\n')
urwid.connect_signal(dialog, 'close',