Skip to content

Commit ce9e75f

Browse files
authored
Merge pull request #12 from nowster/master
Fix IndexedAdvancedHTMLParser.getElementById()
2 parents 43f14d0 + ed34717 commit ce9e75f

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)