Skip to content

Commit 5cf3885

Browse files
committed
adding writers.auto case
1 parent bab8f1d commit 5cf3885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdal/pio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, prefix, **kwargs):
3131
self.spec.update(kwargs)
3232
self.spec["type"] = self.key
3333
# NOTE: special case to support reading files without passing an explicit reader
34-
if (self.prefix == "readers") and kwargs.get("type") == "auto":
34+
if (self.prefix in ["readers", "writers"]) and kwargs.get("type") == "auto":
3535
del self.spec["type"]
3636

3737
@property

0 commit comments

Comments
 (0)