|
@@ -2081,7 +2081,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
for root, dirs, files in os.walk(folderPath):
|
|
for root, dirs, files in os.walk(folderPath):
|
|
for file in files:
|
|
for file in files:
|
|
if file.lower().endswith(tuple(extensions)):
|
|
if file.lower().endswith(tuple(extensions)):
|
|
- relativePath = osp.join(root, file)
|
|
|
|
|
|
+ relativePath = os.path.normpath(osp.join(root, file))
|
|
images.append(relativePath)
|
|
images.append(relativePath)
|
|
images = natsort.os_sorted(images)
|
|
images = natsort.os_sorted(images)
|
|
return images
|
|
return images
|