Skip to content

Commit 8ba4da2

Browse files
committed
Fix extension on AWS S3
1 parent c9586c2 commit 8ba4da2

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

superannotate/db/projects.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -580,10 +580,8 @@ def upload_images_from_folder_to_project(
580580
1:]:
581581
continue
582582
for extension in extensions:
583-
if key.endswith(f'.{extension.lower()}') or (
584-
os.name != "nt" and
585-
key.endswith(f'.{extension.upper()}')
586-
):
583+
if key.endswith(f'.{extension.lower()}'
584+
) or key.endswith(f'.{extension.upper()}'):
587585
paths.append(key)
588586
break
589587
filtered_paths = []

superannotate/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.3.14"
1+
__version__ = "2.3.15"

0 commit comments

Comments
 (0)