Skip to content

Commit ed34717

Browse files
committed
Fix IndexedAdvancedHTMLParser.getElementById()
1 parent 43f14d0 commit ed34717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AdvancedHTMLParser/Parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ def getElementById(self, _id, root='root', useIndex=True):
12691269
'''
12701270
(root, isFromRoot) = self._handleRootArg(root)
12711271

1272-
if self.useIndex is True and self.indexIDs is True:
1272+
if useIndex is True and self.indexIDs is True:
12731273

12741274
element = self._idMap.get(_id, None)
12751275

0 commit comments

Comments
 (0)