diff --git a/scripts/image_caption_gui.py b/scripts/image_caption_gui.py index 153a711..aeacc1f 100644 --- a/scripts/image_caption_gui.py +++ b/scripts/image_caption_gui.py @@ -35,7 +35,7 @@ class CaptionedImage(): # sort def __lt__(self, other): - return self.path < other.path + return str(self.path).lower() < str(other.path).lower() class ImageView(tk.Frame):