Fix an import

This commit is contained in:
octospacc 2022-08-11 10:51:57 +02:00
parent b67425425c
commit bc290c727f
1 changed files with 1 additions and 1 deletions

View File

@ -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.