Skip to content

Commit ee42567

Browse files
committed
Fix field access
1 parent dd66bdb commit ee42567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cvat/apps/engine/cloud_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ class _HeaderFirstPcdDownloader(HeaderFirstDownloader):
470470
def try_parse_header(self, header):
471471
pcd_parser = PcdReader()
472472
file = header
473-
file_ext = os.path.splitext(file.name)[1].lower()
473+
file_ext = os.path.splitext(file.filename)[1].lower()
474474

475475
if file_ext == ".bin":
476476
# We need to ensure the file is a valid .bin file

0 commit comments

Comments
 (0)