Commit f3cb8a54 authored by Thomas Perret's avatar Thomas Perret

Fix small mistake

parent cb9acca6
......@@ -514,7 +514,7 @@ class _LineHTMLParser(HTMLParser):
# strip x_bboxes
self.__char_positions = self.__char_positions[1:]
if self.__char_positions[-1] == "":
self.__char_positions[:-1]
self.__char_positions = self.__char_positions[:-1]
try:
while True:
self.__char_positions.remove("-1")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment