Skip to content

Commit ac4af5b

Browse files
authored
Merge pull request #67 from modelmat/patch-1
Make `cmd_exists()` return a the result.
2 parents e6d256a + de84ae2 commit ac4af5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

echo360/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def main():
268268
setup_credential = True
269269

270270
def cmd_exists(x):
271-
any(
271+
return any(
272272
os.access(os.path.join(path, x), os.X_OK)
273273
for path in os.environ["PATH"].split(os.pathsep)
274274
)

0 commit comments

Comments
 (0)