Open image files in alphabetical order.
This commit is contained in:
parent
ce11d6e097
commit
9322bc1283
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class OCREngine(QThread):
|
||||||
def __init__(self, dirname):
|
def __init__(self, dirname):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.dirname = dirname
|
self.dirname = dirname
|
||||||
self.filenames = glob(path.join(dirname, '*.png'))
|
self.filenames = sorted(glob(path.join(dirname, '*.png')))
|
||||||
self.glyphdb = GlyphDB(path.join(self.dirname, 'glyphdb.pickle'))
|
self.glyphdb = GlyphDB(path.join(self.dirname, 'glyphdb.pickle'))
|
||||||
self.help_queue = Queue()
|
self.help_queue = Queue()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue