Skip to content

Commit

Permalink
Merge pull request #67 from modelmat/patch-1
Browse files Browse the repository at this point in the history
Make `cmd_exists()` return a the result.
  • Loading branch information
soraxas authored Aug 9, 2022
2 parents e6d256a + de84ae2 commit ac4af5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion echo360/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def main():
setup_credential = True

def cmd_exists(x):
any(
return any(
os.access(os.path.join(path, x), os.X_OK)
for path in os.environ["PATH"].split(os.pathsep)
)
Expand Down

0 comments on commit ac4af5b

Please sign in to comment.