From f2f74d6f866999b7dd2b48e6c941b9700ebbd533 2008-03-23 14:07:46 From: ldufrechou Date: 2008-03-23 14:07:46 Subject: [PATCH] Doc bug correction --- diff --git a/IPython/gui/wx/ipython_view.py b/IPython/gui/wx/ipython_view.py index 65bba16..5e42d62 100644 --- a/IPython/gui/wx/ipython_view.py +++ b/IPython/gui/wx/ipython_view.py @@ -543,13 +543,11 @@ class WxIPythonViewPanel(wx.Panel): self.pager_state = 'INIT' self.setCurrentState('SHOW_DOC') self.pager(self.doc) - - if self.help: + elif self.help: self.pager_lines = self.help.split('\n') self.pager_state = 'INIT' self.setCurrentState('SHOW_DOC') - self.pager(self.help) - + self.pager(self.help) else: self.stateShowPrompt()