mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
fix usage of variables
This commit is contained in:
parent
8637537056
commit
06783daf8e
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ def find_executable(executable):
|
|||
paths = path_str.split(os.pathsep)
|
||||
for path in paths:
|
||||
for variant in variants:
|
||||
filepath = os.path.abspath(os.path.join(path, executable))
|
||||
filepath = os.path.abspath(os.path.join(path, variant))
|
||||
if os.path.isfile(filepath):
|
||||
return filepath
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue