f
This commit is contained in:
@@ -1265,7 +1265,17 @@ def main() -> int:
|
||||
sys.stdin.readline()
|
||||
continue
|
||||
|
||||
run_client_script = repo_root / "scripts" / "run_client.py" if repo_root else Path(__file__).parent / "run_client.py"
|
||||
run_client_script = None
|
||||
candidates = [
|
||||
target_repo / "run_client.py",
|
||||
target_repo / "scripts" / "run_client.py",
|
||||
]
|
||||
for candidate in candidates:
|
||||
if candidate.exists():
|
||||
run_client_script = candidate
|
||||
break
|
||||
if run_client_script is None:
|
||||
run_client_script = Path(__file__).parent / "run_client.py"
|
||||
|
||||
if run_client_script.exists():
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user