From f5c80948c0a4edba8646af6b65ae49c5d447ff7f Mon Sep 17 00:00:00 2001 From: Hannes Plattner Date: Wed, 28 Jun 2023 13:54:51 +0200 Subject: [PATCH] refix --- text/lib/BeautifulSoup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/lib/BeautifulSoup.py b/text/lib/BeautifulSoup.py index 3d0d4c9..2d3e44c 100644 --- a/text/lib/BeautifulSoup.py +++ b/text/lib/BeautifulSoup.py @@ -364,7 +364,7 @@ class NavigableString(unicode, PageElement): raise AttributeError, "'%s' object has no attribute '%s'" % (self.__class__.__name__, attr) def __unicode__(self): - return self.__str__(None) + return __str__(self, None) def __str__(self, encoding=DEFAULT_OUTPUT_ENCODING): if encoding: