Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e9fbc9b

Browse files
committed
Fixing wx related issue in guisupport.py.
1 parent 24c5543 commit e9fbc9b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

IPython/lib/guisupport.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ def get_app_wx(*args, **kwargs):
7878
import wx
7979
app = wx.GetApp()
8080
if app is None:
81+
if not kwargs.has_key('redirect'):
82+
kwargs['redirect'] = False
8183
app = wx.PySimpleApp(*args, **kwargs)
8284
return app
8385

0 commit comments

Comments
 (0)