Skip to content

Commit

Permalink
Merge from 3.x: PR #4208
Browse files Browse the repository at this point in the history
Fixes #4170
  • Loading branch information
ccordoba12 committed Feb 27, 2017
2 parents 823df7b + ca071c0 commit 8ab558b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spyder/widgets/ipythonconsole/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ def set_cwd(self, dirname):
def long_banner(self):
"""Banner for IPython widgets with pylab message"""
# Default banner
from IPython.core.usage import quick_guide
try:
from IPython.core.usage import quick_guide
except Exception:
quick_guide = ''
banner_parts = [
'Python %s\n' % self.interpreter_versions['python_version'],
'Type "copyright", "credits" or "license" for more information.\n\n',
Expand Down

0 comments on commit 8ab558b

Please sign in to comment.