Skip to content

Commit

Permalink
Merge pull request #3310 from ccordoba12/fix-bs4
Browse files Browse the repository at this point in the history
Fix error when Beautiful Soup is installed incorrectly
  • Loading branch information
ccordoba12 authored Jul 20, 2016
2 parents 1362127 + 99f2430 commit 8127cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyderlib/widgets/variableexplorer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def get_numpy_dtype(obj):
try:
import bs4
NavigableString = bs4.element.NavigableString
except ImportError:
except (ImportError, AttributeError):
NavigableString = FakeObject # analysis:ignore


Expand Down

0 comments on commit 8127cdd

Please sign in to comment.