Fix copy-paste error

pull/141/head
Tim Bell 2018-04-11 10:15:32 +10:00
parent 8f8a78bb88
commit 0c8cf748fe
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ class LTTextBoxVertical(LTTextBox):
def analyze(self, laparams): def analyze(self, laparams):
LTTextBox.analyze(self, laparams) LTTextBox.analyze(self, laparams)
self._objs.sort(key=lambda obj: -obj.y1) self._objs.sort(key=lambda obj: -obj.x1)
return return
def get_writing_mode(self): def get_writing_mode(self):