Skip to content

Commit

Permalink
fix: upload blackvue in subfolders (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptpt committed Feb 15, 2022
1 parent 0e76736 commit 4bfebf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mapillary_tools/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ def upload(
elif file_type == "blackvue":
video_paths = [
path
for path in utils.iterate_files(import_path)
for path in utils.iterate_files(import_path, recursive=True)
if os.path.splitext(path)[1].lower() in [".mp4"]
]
_upload_blackvues(
Expand All @@ -641,7 +641,7 @@ def upload(
elif file_type == "zip":
zip_paths = [
path
for path in utils.iterate_files(import_path)
for path in utils.iterate_files(import_path, recursive=True)
if os.path.splitext(path)[1].lower() in [".zip"]
]
_upload_zipfiles(
Expand Down

0 comments on commit 4bfebf8

Please sign in to comment.