Skip to content

Commit 0ea5999

Browse files
brass75john0isaac
andauthored
Update utils.py
Co-authored-by: John Aziz <johnaziz269@gmail.com>
1 parent d7cf1c8 commit 0ea5999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/render_engine_cli/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def handle_content_file(ctx: click.Context, param: click.Option, value: str) ->
223223
content.append(line)
224224
return "\n".join(content)
225225
path = Path(value)
226-
if not path.exists:
226+
if not path.exists():
227227
raise click.exceptions.BadParameter(
228228
f'Either the path to a file or "stdin" must be provided. {repr(value)} is invalid.'
229229
)

0 commit comments

Comments
 (0)