Skip to content

Commit 14b081f

Browse files
committed
Docker pipe fix
1 parent bcc2f5a commit 14b081f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi_spec_validator/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def main(args=None):
4747

4848
# choose source
4949
reader = read_from_filename
50-
if args.filename == '-':
50+
if args.filename in ['-', '/-']:
5151
reader = read_from_stdin
5252

5353
# read source

0 commit comments

Comments
 (0)