diff --git a/Source/Libs/bs4/element.py b/Source/Libs/bs4/element.py index 0199eff..0eea873 100644 --- a/Source/Libs/bs4/element.py +++ b/Source/Libs/bs4/element.py @@ -421,7 +421,7 @@ class PageElement(object): and not isinstance(new_child, NavigableString)): new_child = NavigableString(new_child) - from bs4 import BeautifulSoup + from . import BeautifulSoup if isinstance(new_child, BeautifulSoup): # We don't want to end up with a situation where one BeautifulSoup # object contains another. Insert the children one at a time.