Skip to content

Commit 053e837

Browse files
committed
Fix filename ordering bug
1 parent d3dea16 commit 053e837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jajucha/control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def __init__(self, graphics, path):
242242
super().__init__(graphics)
243243
self.path = path
244244
os.chdir(path)
245-
self.imList = glob.glob('*.jpg')
245+
self.imList = sorted(glob.glob('*.jpg'))
246246
self.len = len(self.imList) // 2
247247
if self.len < 1:
248248
self.graphics.setCommandText('경로에 이미지가 없습니다. 경로를 확인해주세요.')

0 commit comments

Comments
 (0)