Skip to content

Commit d26a6b9

Browse files
committed
Fix case in list comprehension
1 parent bee4bc2 commit d26a6b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AdvancedHTMLParser/xpath/_body.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ def setValue(self, newValues):
664664
All items must have a related BodyElementValue type, or already be one.
665665
'''
666666

667-
updatedList = [ ( issubclass(thisVal.__class__, BodyElementValue) and thisval ) or _pythonValueToBodyElementValue(thisVal) for thisVal in newValues ]
667+
updatedList = [ ( issubclass(thisVal.__class__, BodyElementValue) and thisVal ) or _pythonValueToBodyElementValue(thisVal) for thisVal in newValues ]
668668

669669
self.value = updatedList
670670

0 commit comments

Comments
 (0)