Skip to content

Commit 07279f1

Browse files
authored
Glob recursive, so ** can be used for multiple directories (#18)
1 parent 543eb52 commit 07279f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vecorel_cli/conversion/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def get_data(
186186
for path, uri in paths:
187187
# e.g. allow "*.shp" to identify the single relevant file without knowing the name in advance
188188
if "*" in path:
189-
lst = glob(path)
189+
lst = glob(path, recursive=True)
190190
assert len(lst) == 1, f"Can not match {path} to a single file"
191191
path = lst[0]
192192
self.info(f"Reading {path} into GeoDataFrame(s)")

0 commit comments

Comments
 (0)