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:
parent
cfae35754c
commit
c32ae60629
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user