From bc290c727f8a81842b3dc134f9ce164001beae26 Mon Sep 17 00:00:00 2001 From: octospacc Date: Thu, 11 Aug 2022 10:51:57 +0200 Subject: [PATCH] Fix an import --- Source/Libs/bs4/element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.