summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Shadchin <shadchin@yandex-team.ru>2022-03-31 22:53:15 +0300
committerDavid Lord <davidism@gmail.com>2022-03-31 13:37:52 -0700
commit92cebe902aa7f03a89f6b261d897964dd9c5fa43 (patch)
tree260c54de8403f96b60fc0dbebebdaf2292a7113b /src
parent456fbb6b0053fb01bedf90b64999b0a3c645a3cd (diff)
downloadclick-92cebe902aa7f03a89f6b261d897964dd9c5fa43.tar.gz
fix readable path check error message
Diffstat (limited to 'src')
-rw-r--r--src/click/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/click/types.py b/src/click/types.py
index 3a78a3a..2ca4ffb 100644
--- a/src/click/types.py
+++ b/src/click/types.py
@@ -884,7 +884,7 @@ class Path(ParamType):
if self.readable and not os.access(rv, os.R_OK):
self.fail(
- _("{name} {filename!r} is not executable.").format(
+ _("{name} {filename!r} is not readable.").format(
name=self.name.title(), filename=os.fsdecode(value)
),
param,