mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Correct a "=+" typo in readability.py's sanitize
method.
This was setting `i` to 1 every loop iteration instead of incrementing it.
This commit is contained in:
parent
ba6438efda
commit
24a2865d36
@ -445,7 +445,7 @@ class Document:
|
||||
# self.debug(sib.text_content())
|
||||
sib_content_length = text_length(sib)
|
||||
if sib_content_length:
|
||||
i =+ 1
|
||||
i += 1
|
||||
siblings.append(sib_content_length)
|
||||
if i == x:
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user