diff --git a/labelImg.py b/labelImg.py index 8409dabe..a4d37f65 100755 --- a/labelImg.py +++ b/labelImg.py @@ -812,7 +812,7 @@ class MainWindow(QMainWindow, WindowMixin): self.loadFile(filename) def scanAllImages(self, folderPath): - extensions = {'.jpeg','.jpg', '.png', '.bmp'} + extensions = ['.jpeg','.jpg', '.png', '.bmp'] images = [] for root, dirs, files in os.walk(folderPath):