Skip to content

Commit

Permalink
fix: aws-list outputs list of list - sidecars
Browse files Browse the repository at this point in the history
  • Loading branch information
MDavidson17 committed Aug 25, 2023
1 parent 083f88c commit 843b955
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/translate_ascii.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ def main() -> None:
write_all(inputs=tiffs, target=arguments.target)

# copy any sidecar files to target
sidecars = find_sidecars(asc_files, [".prj", ".tfw"])
sidecars = []
for ls in asc_files:
sidecars += find_sidecars(ls, [".prj", ".tfw"])
write_all(inputs=sidecars, target=arguments.target)


Expand Down

0 comments on commit 843b955

Please sign in to comment.