From 88f8b968e68fc447c4057d80eca2cb1c5393f718 Mon Sep 17 00:00:00 2001 From: Hannes Plattner Date: Wed, 28 Jun 2023 13:50:28 +0200 Subject: [PATCH] fix method call --- 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 2d3e44c..3d0d4c9 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 __str__(self, None) + return self.__str__(None) def __str__(self, encoding=DEFAULT_OUTPUT_ENCODING): if encoding: