From 25a4efbf0aedba46687a2c151f1230eeeaacea35 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Mon, 22 Jul 2019 16:58:40 -0400 Subject: Added a section about project support to the README. --- bs4/element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bs4') diff --git a/bs4/element.py b/bs4/element.py index a610008..a57027e 100644 --- a/bs4/element.py +++ b/bs4/element.py @@ -741,7 +741,7 @@ class Tag(PageElement): if ((not builder or builder.store_line_numbers) and (sourceline is not None or sourcepos is not None)): self.sourceline = sourceline - self.sourcepos = sourcepos + self.sourcepos = sourcepos if attrs is None: attrs = {} elif attrs: -- cgit v1.2.3