mirror of https://gitlab.com/octtspacc/staticoso
Fix an import
This commit is contained in:
parent
b67425425c
commit
bc290c727f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue